We're dividing 34039994 by 654 
The aim is to understand the frequency of 654 in 34039994.

On to step 1:
3 divided by 654 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 654

On to step 2:
The number 654 fits into 34 0 times, leaving a remainder of 34.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 34, we get 34.
Bring next digit (0) of the dividend behind the 34 and repeat the process: 340 / 654

Moving on to step 3:
340 divided by 654 is 0 with a remainder of 340.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 340 leaves us with 340.
Fetch the next digit (3) from the dividend, attach it to 340 and continue: 3403 / 654

Let's proceed to step 4:
When dividing 3403 by 654, we get 5 with a remainder of 133.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 3270 from 3403, we get 133.
Fetch the next digit (9) from the dividend, attach it to 133 and continue: 1339 / 654

Let's proceed to step 5:
The number 654 fits into 1339 2 times, leaving a remainder of 31.
Use 2 as the next digit of our solution. 
Result so far: 52.0
Subtract 1308 from 1339 to get 31.
Append the next digit (9) from the dividend to 31 and continue with: 319 / 654

Going ahead to step 6:
If we divide 319 by 654, we get 0 and a remainder of 319.
The next digit of our result is 0. 
Result so far: 520.0
If we take 0 away from 319, we end up with 319.
Fetch the next digit (9) from the dividend, attach it to 319 and continue: 3199 / 654

Advancing to step 7:
When dividing 3199 by 654, we get 4 with a remainder of 583.
The number 4 becomes the next digit in our result. 
Result so far: 5204.0
The remainder is 583 after subtracting 2616 from 3199.
Append the next digit (4) from the dividend to 583 and continue with: 5834 / 654

Going ahead to step 8:
The number 654 fits into 5834 8 times, leaving a remainder of 602.
The next digit of our result is 8. 
Result so far: 52048.0
If we subtract 5232 from 5834, we get 602.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6020, and continue the process.

Going ahead to step 9:
654 can be fit into 6020 9 times, resulting in a remainder of 134.
The next digit of our result is 9. 
Result so far: 52048.9
If we take 5886 away from 6020, we end up with 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

On to step 10:
When dividing 1340 by 654, we get 2 with a remainder of 32.
The next digit of our result is 2. 
Result so far: 52048.92
If we subtract 1308 from 1340, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 11:
If we divide 320 by 654, we get 0 and a remainder of 320.
Record the quotient 0 as the next digit in the result. 
Result so far: 52048.92
If we subtract 0 from 320, we get 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Step 12:
If we divide 3200 by 654, we get 4 and a remainder of 584.
Use 4 as the next digit of our solution. 
Result so far: 52048.9204
If we take 2616 away from 3200, we end up with 584.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5840, and continue the process.

Advancing to step 13:
5840 divided by 654 is 8 with a remainder of 608.
Write down 8 as next digit of the result. 
Result so far: 52048.92048
The remainder is 608 after subtracting 5232 from 5840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6080, and continue the process.

Going ahead to step 14:
When dividing 6080 by 654, we get 9 with a remainder of 194.
Use 9 as the next digit of our solution. 
Result so far: 52048.920489
If we take 5886 away from 6080, we end up with 194.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1940, and continue the process.

On to step 15:
If we divide 1940 by 654, we get 2 and a remainder of 632.
Record the quotient 2 as the next digit in the result. 
Result so far: 52048.9204892
If we take 1308 away from 1940, we end up with 632.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6320, and continue the process.

Let's proceed to step 16:
When dividing 6320 by 654, we get 9 with a remainder of 434.
Use 9 as the next digit of our solution. 
Result so far: 52048.92048929
If we take 5886 away from 6320, we end up with 434.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4340, and continue the process.

After the division, we end up with 52048.92048929 and a remainder of 4.34e-07.