Let's divide 90726417 by 840
The aim is to understand the frequency of 840 in 90726417.

On to step 1:
When dividing 9 by 840, we get 0 with a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Fetch the next digit (0) from the dividend, attach it to 9 and continue: 90 / 840

Going ahead to step 2:
840 goes into 90 0 times with a remainder of 90.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 90, we get 90.
Grab the next digit (7) from the dividend, add it to 90, then carry on: 907 / 840

On to step 3:
If we divide 907 by 840, we get 1 and a remainder of 67.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 840 from 907, we get 67.
Fetch the next digit (2) from the dividend, attach it to 67 and continue: 672 / 840

On to step 4:
840 goes into 672 0 times with a remainder of 672.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
If we subtract 0 from 672, we get 672.
Grab the next digit (6) from the dividend, add it to 672, then carry on: 6726 / 840

Going ahead to step 5:
6726 divided by 840 is 8 with a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 108.0
Subtracting 6720 from 6726 leaves us with 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 840

Moving on to step 6:
840 can be fit into 64 0 times, resulting in a remainder of 64.
Put 0 as the next digit of the answer. 
Result so far: 1080.0
If we take 0 away from 64, we end up with 64.
Include the next digit (1) from the dividend after 64, then repeat: 641 / 840

Step 7:
The number 840 fits into 641 0 times, leaving a remainder of 641.
The next digit of our result is 0. 
Result so far: 10800.0
Subtract 0 from 641 to get 641.
Fetch the next digit (7) from the dividend, attach it to 641 and continue: 6417 / 840

Step 8:
When dividing 6417 by 840, we get 7 with a remainder of 537.
Record the quotient 7 as the next digit in the result. 
Result so far: 108007.0
Subtracting 5880 from 6417 leaves us with 537.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5370, and continue the process.

Advancing to step 9:
840 goes into 5370 6 times with a remainder of 330.
The number 6 becomes the next digit in our result. 
Result so far: 108007.6
If we take 5040 away from 5370, we end up with 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3300, and continue the process.

On to step 10:
The number 840 fits into 3300 3 times, leaving a remainder of 780.
The next digit of our result is 3. 
Result so far: 108007.63
Deduct 2520 from 3300 and we're left with 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7800, and continue the process.

Going ahead to step 11:
7800 divided by 840 is 9 with a remainder of 240.
Write down 9 as next digit of the result. 
Result so far: 108007.639
Deduct 7560 from 7800 and we're left with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

On to step 12:
The number 840 fits into 2400 2 times, leaving a remainder of 720.
Use 2 as the next digit of our solution. 
Result so far: 108007.6392
If we take 1680 away from 2400, we end up with 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7200, and continue the process.

Step 13:
840 goes into 7200 8 times with a remainder of 480.
Put 8 as the next digit of the answer. 
Result so far: 108007.63928
Subtract 6720 from 7200 to get 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Moving on to step 14:
The number 840 fits into 4800 5 times, leaving a remainder of 600.
Use 5 as the next digit of our solution. 
Result so far: 108007.639285
The remainder is 600 after subtracting 4200 from 4800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

On to step 15:
When dividing 6000 by 840, we get 7 with a remainder of 120.
Use 7 as the next digit of our solution. 
Result so far: 108007.6392857
If we subtract 5880 from 6000, we get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Moving on to step 16:
If we divide 1200 by 840, we get 1 and a remainder of 360.
Put 1 as the next digit of the answer. 
Result so far: 108007.63928571
Deduct 840 from 1200 and we're left with 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

The quotient of the division is 108007.63928571, and the remainder is 3.6e-07.