We look at the division of 98007981 by 840 
The aim is to understand the frequency of 840 in 98007981.

Let's proceed to step 1:
When dividing 9 by 840, we get 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 840

Going ahead to step 2:
If we divide 98 by 840, we get 0 and a remainder of 98.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 98 after subtracting 0 from 98.
Include the next digit (0) from the dividend after 98, then repeat: 980 / 840

Let's proceed to step 3:
840 goes into 980 1 times with a remainder of 140.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 840 from 980 to get 140.
Fetch the next digit (0) from the dividend, attach it to 140 and continue: 1400 / 840

Step 4:
1400 divided by 840 is 1 with a remainder of 560.
Use 1 as the next digit of our solution. 
Result so far: 11.0
If we subtract 840 from 1400, we get 560.
Bring next digit (7) of the dividend behind the 560 and repeat the process: 5607 / 840

Going ahead to step 5:
When dividing 5607 by 840, we get 6 with a remainder of 567.
Put 6 as the next digit of the answer. 
Result so far: 116.0
The remainder is 567 after subtracting 5040 from 5607.
Include the next digit (9) from the dividend after 567, then repeat: 5679 / 840

Step 6:
The number 840 fits into 5679 6 times, leaving a remainder of 639.
The number 6 becomes the next digit in our result. 
Result so far: 1166.0
The remainder is 639 after subtracting 5040 from 5679.
Grab the next digit (8) from the dividend, add it to 639, then carry on: 6398 / 840

Moving on to step 7:
6398 divided by 840 is 7 with a remainder of 518.
Record the quotient 7 as the next digit in the result. 
Result so far: 11667.0
Subtracting 5880 from 6398 leaves us with 518.
Bring next digit (1) of the dividend behind the 518 and repeat the process: 5181 / 840

Going ahead to step 8:
When dividing 5181 by 840, we get 6 with a remainder of 141.
Record the quotient 6 as the next digit in the result. 
Result so far: 116676.0
Subtracting 5040 from 5181 leaves us with 141.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1410, and continue the process.

Let's proceed to step 9:
1410 divided by 840 is 1 with a remainder of 570.
Write down 1 as next digit of the result. 
Result so far: 116676.1
Deduct 840 from 1410 and we're left with 570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5700, and continue the process.

Moving on to step 10:
5700 divided by 840 is 6 with a remainder of 660.
The number 6 becomes the next digit in our result. 
Result so far: 116676.16
Deduct 5040 from 5700 and we're left with 660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6600, and continue the process.

On to step 11:
840 can be fit into 6600 7 times, resulting in a remainder of 720.
Use 7 as the next digit of our solution. 
Result so far: 116676.167
The remainder is 720 after subtracting 5880 from 6600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7200, and continue the process.

Going ahead to step 12:
When dividing 7200 by 840, we get 8 with a remainder of 480.
Record the quotient 8 as the next digit in the result. 
Result so far: 116676.1678
Subtracting 6720 from 7200 leaves us with 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Advancing to step 13:
If we divide 4800 by 840, we get 5 and a remainder of 600.
Write down 5 as next digit of the result. 
Result so far: 116676.16785
If we subtract 4200 from 4800, we get 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

Let's proceed to step 14:
6000 divided by 840 is 7 with a remainder of 120.
Record the quotient 7 as the next digit in the result. 
Result so far: 116676.167857
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 15:
1200 divided by 840 is 1 with a remainder of 360.
The next digit of our result is 1. 
Result so far: 116676.1678571
If we subtract 840 from 1200, we get 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

On to step 16:
The number 840 fits into 3600 4 times, leaving a remainder of 240.
The number 4 becomes the next digit in our result. 
Result so far: 116676.16785714
Deduct 3360 from 3600 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.

The quotient of the division is 116676.16785714, and the remainder is 2.4e-07.