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

Step 1:
The number 840 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 840

Step 2:
If we divide 14 by 840, we get 0 and a remainder of 14.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 14 and we're left with 14.
Take the next digit (7) from the dividend and append it to 14, then repeat: 147 / 840

Moving on to step 3:
840 goes into 147 0 times with a remainder of 147.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 147 to get 147.
Bring next digit (8) of the dividend behind the 147 and repeat the process: 1478 / 840

Moving on to step 4:
840 goes into 1478 1 times with a remainder of 638.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 840 from 1478, we get 638.
Bring next digit (2) of the dividend behind the 638 and repeat the process: 6382 / 840

Advancing to step 5:
6382 divided by 840 is 7 with a remainder of 502.
Write down 7 as next digit of the result. 
Result so far: 17.0
If we take 5880 away from 6382, we end up with 502.
Fetch the next digit (3) from the dividend, attach it to 502 and continue: 5023 / 840

On to step 6:
840 can be fit into 5023 5 times, resulting in a remainder of 823.
Use 5 as the next digit of our solution. 
Result so far: 175.0
The remainder is 823 after subtracting 4200 from 5023.
Take the next digit (1) from the dividend and append it to 823, then repeat: 8231 / 840

Advancing to step 7:
8231 divided by 840 is 9 with a remainder of 671.
Use 9 as the next digit of our solution. 
Result so far: 1759.0
The remainder is 671 after subtracting 7560 from 8231.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6710, and continue the process.

Let's proceed to step 8:
840 goes into 6710 7 times with a remainder of 830.
Write down 7 as next digit of the result. 
Result so far: 1759.7
Subtract 5880 from 6710 to get 830.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8300, and continue the process.

Advancing to step 9:
The number 840 fits into 8300 9 times, leaving a remainder of 740.
The number 9 becomes the next digit in our result. 
Result so far: 1759.79
Deduct 7560 from 8300 and we're left with 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7400, and continue the process.

Advancing to step 10:
7400 divided by 840 is 8 with a remainder of 680.
The next digit of our result is 8. 
Result so far: 1759.798
Subtracting 6720 from 7400 leaves us 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.

Step 11:
840 goes into 6800 8 times with a remainder of 80.
The number 8 becomes the next digit in our result. 
Result so far: 1759.7988
If we take 6720 away from 6800, we end up 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.

In conclusion, the division gives 1759.7988 with a balance of 0.0008.