We're dividing 670811 by 54 
The aim is to understand the frequency of 54 in 670811.

On to step 1:
When dividing 6 by 54, we get 0 with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Include the next digit (7) from the dividend after 6, then repeat: 67 / 54

Going ahead to step 2:
54 goes into 67 1 times with a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 13 after subtracting 54 from 67.
Append the next digit (0) from the dividend to 13 and continue with: 130 / 54

Step 3:
54 can be fit into 130 2 times, resulting in a remainder of 22.
The next digit of our result is 2. 
Result so far: 12.0
Subtract 108 from 130 to get 22.
Fetch the next digit (8) from the dividend, attach it to 22 and continue: 228 / 54

Going ahead to step 4:
The number 54 fits into 228 4 times, leaving a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 124.0
Subtract 216 from 228 to get 12.
Take the next digit (1) from the dividend and append it to 12, then repeat: 121 / 54

Step 5:
121 divided by 54 is 2 with a remainder of 13.
The number 2 becomes the next digit in our result. 
Result so far: 1242.0
If we subtract 108 from 121, we get 13.
Append the next digit (1) from the dividend to 13 and continue with: 131 / 54

Advancing to step 6:
54 goes into 131 2 times with a remainder of 23.
Record the quotient 2 as the next digit in the result. 
Result so far: 12422.0
Deduct 108 from 131 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 7:
230 divided by 54 is 4 with a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 12422.4
Subtract 216 from 230 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 8:
The number 54 fits into 140 2 times, leaving a remainder of 32.
Use 2 as the next digit of our solution. 
Result so far: 12422.42
Deduct 108 from 140 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 9:
54 goes into 320 5 times with a remainder of 50.
Write down 5 as next digit of the result. 
Result so far: 12422.425
If we take 270 away from 320, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 10:
If we divide 500 by 54, we get 9 and a remainder of 14.
Use 9 as the next digit of our solution. 
Result so far: 12422.4259
Subtract 486 from 500 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 11:
54 goes into 140 2 times with a remainder of 32.
Put 2 as the next digit of the answer. 
Result so far: 12422.42592
Deduct 108 from 140 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 12:
54 goes into 320 5 times with a remainder of 50.
Write down 5 as next digit of the result. 
Result so far: 12422.425925
If we take 270 away from 320, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Moving on to step 13:
54 can be fit into 500 9 times, resulting in a remainder of 14.
Record the quotient 9 as the next digit in the result. 
Result so far: 12422.4259259
Subtract 486 from 500 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 14:
54 goes into 140 2 times with a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 12422.42592592
The remainder is 32 after subtracting 108 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

The quotient of the division is 12422.42592592, and the remainder is 3.2e-08.