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

On to step 1:
If we divide 8 by 840, we get 0 and a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Fetch the next digit (5) from the dividend, attach it to 8 and continue: 85 / 840

Step 2:
The number 840 fits into 85 0 times, leaving a remainder of 85.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 85 leaves us with 85.
Bring next digit (8) of the dividend behind the 85 and repeat the process: 858 / 840

On to step 3:
If we divide 858 by 840, we get 1 and a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 18 after subtracting 840 from 858.
Bring next digit (5) of the dividend behind the 18 and repeat the process: 185 / 840

Moving on to step 4:
When dividing 185 by 840, we get 0 with a remainder of 185.
Put 0 as the next digit of the answer. 
Result so far: 10.0
If we subtract 0 from 185, we get 185.
Grab the next digit (8) from the dividend, add it to 185, then carry on: 1858 / 840

Advancing to step 5:
The number 840 fits into 1858 2 times, leaving a remainder of 178.
Use 2 as the next digit of our solution. 
Result so far: 102.0
Subtracting 1680 from 1858 leaves us with 178.
Include the next digit (5) from the dividend after 178, then repeat: 1785 / 840

Advancing to step 6:
When dividing 1785 by 840, we get 2 with a remainder of 105.
Use 2 as the next digit of our solution. 
Result so far: 1022.0
If we subtract 1680 from 1785, we get 105.
Append the next digit (0) from the dividend to 105 and continue with: 1050 / 840

Advancing to step 7:
If we divide 1050 by 840, we get 1 and a remainder of 210.
Put 1 as the next digit of the answer. 
Result so far: 10221.0
Deduct 840 from 1050 and we're left with 210.
Fetch the next digit (2) from the dividend, attach it to 210 and continue: 2102 / 840

On to step 8:
If we divide 2102 by 840, we get 2 and a remainder of 422.
Record the quotient 2 as the next digit in the result. 
Result so far: 102212.0
If we subtract 1680 from 2102, we get 422.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4220, and continue the process.

Step 9:
4220 divided by 840 is 5 with a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 102212.5
Subtract 4200 from 4220 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 10:
840 can be fit into 200 0 times, resulting in a remainder of 200.
Put 0 as the next digit of the answer. 
Result so far: 102212.5
Subtracting 0 from 200 leaves us with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Step 11:
840 goes into 2000 2 times with a remainder of 320.
The number 2 becomes the next digit in our result. 
Result so far: 102212.502
Subtract 1680 from 2000 to 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.

Moving on to step 12:
3200 divided by 840 is 3 with a remainder of 680.
The next digit of our result is 3. 
Result so far: 102212.5023
Deduct 2520 from 3200 and we're left with 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6800, and continue the process.

Moving on to step 13:
6800 divided by 840 is 8 with a remainder of 80.
Use 8 as the next digit of our solution. 
Result so far: 102212.50238
Deduct 6720 from 6800 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Advancing to step 14:
The number 840 fits into 800 0 times, leaving a remainder of 800.
The number 0 becomes the next digit in our result. 
Result so far: 102212.50238
Subtracting 0 from 800 leaves us with 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8000, and continue the process.

On to step 15:
When dividing 8000 by 840, we get 9 with a remainder of 440.
Use 9 as the next digit of our solution. 
Result so far: 102212.5023809
If we take 7560 away from 8000, we end up with 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

Step 16:
If we divide 4400 by 840, we get 5 and a remainder of 200.
Write down 5 as next digit of the result. 
Result so far: 102212.50238095
The remainder is 200 after subtracting 4200 from 4400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

The final result is 102212.50238095 with a remainder of 2e-07.