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

On to step 1:
The number 840 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 840

Moving on to step 2:
When dividing 54 by 840, we get 0 with a remainder of 54.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 54, we get 54.
Append the next digit (8) from the dividend to 54 and continue with: 548 / 840

On to step 3:
840 can be fit into 548 0 times, resulting in a remainder of 548.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 548 leaves us with 548.
Include the next digit (0) from the dividend after 548, then repeat: 5480 / 840

Step 4:
840 can be fit into 5480 6 times, resulting in a remainder of 440.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Deduct 5040 from 5480 and we're left with 440.
Include the next digit (2) from the dividend after 440, then repeat: 4402 / 840

Let's proceed to step 5:
If we divide 4402 by 840, we get 5 and a remainder of 202.
Write down 5 as next digit of the result. 
Result so far: 65.0
Subtracting 4200 from 4402 leaves us with 202.
Take the next digit (7) from the dividend and append it to 202, then repeat: 2027 / 840

Going ahead to step 6:
When dividing 2027 by 840, we get 2 with a remainder of 347.
Use 2 as the next digit of our solution. 
Result so far: 652.0
The remainder is 347 after subtracting 1680 from 2027.
Take the next digit (8) from the dividend and append it to 347, then repeat: 3478 / 840

Moving on to step 7:
840 can be fit into 3478 4 times, resulting in a remainder of 118.
Record the quotient 4 as the next digit in the result. 
Result so far: 6524.0
Subtract 3360 from 3478 to get 118.
Grab the next digit (1) from the dividend, add it to 118, then carry on: 1181 / 840

Going ahead to step 8:
When dividing 1181 by 840, we get 1 with a remainder of 341.
The number 1 becomes the next digit in our result. 
Result so far: 65241.0
If we subtract 840 from 1181, we get 341.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3410, and continue the process.

On to step 9:
If we divide 3410 by 840, we get 4 and a remainder of 50.
The next digit of our result is 4. 
Result so far: 65241.4
Subtracting 3360 from 3410 leaves us 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.

Going ahead to step 10:
The number 840 fits into 500 0 times, leaving a remainder of 500.
Put 0 as the next digit of the answer. 
Result so far: 65241.4
If we subtract 0 from 500, we get 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5000, and continue the process.

Moving on to step 11:
The number 840 fits into 5000 5 times, leaving a remainder of 800.
The next digit of our result is 5. 
Result so far: 65241.405
If we subtract 4200 from 5000, we get 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8000, and continue the process.

Moving on to step 12:
840 can be fit into 8000 9 times, resulting in a remainder of 440.
Record the quotient 9 as the next digit in the result. 
Result so far: 65241.4059
Subtract 7560 from 8000 to get 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

Moving on to step 13:
840 goes into 4400 5 times with a remainder of 200.
Put 5 as the next digit of the answer. 
Result so far: 65241.40595
Subtract 4200 from 4400 to get 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

On to step 14:
2000 divided by 840 is 2 with a remainder of 320.
Record the quotient 2 as the next digit in the result. 
Result so far: 65241.405952
The remainder is 320 after subtracting 1680 from 2000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Let's proceed to step 15:
When dividing 3200 by 840, we get 3 with a remainder of 680.
The next digit of our result is 3. 
Result so far: 65241.4059523
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.

Let's proceed to step 16:
6800 divided by 840 is 8 with a remainder of 80.
Record the quotient 8 as the next digit in the result. 
Result so far: 65241.40595238
If we subtract 6720 from 6800, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

The final result is 65241.40595238 with a remainder of 8e-08.