We're dividing 840796 by 84 
The aim is to understand the frequency of 84 in 840796.

Moving on to step 1:
When dividing 8 by 84, we get 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 84

Moving on to step 2:
84 can be fit into 84 1 times, resulting in a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 84 from 84 leaves us with 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 84

Moving on to step 3:
If we divide 0 by 84, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
Subtract 0 from 0 to get 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 84

Let's proceed to step 4:
84 can be fit into 7 0 times, resulting in a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 100.0
The remainder is 7 after subtracting 0 from 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 84

Step 5:
84 can be fit into 79 0 times, resulting in a remainder of 79.
The number 0 becomes the next digit in our result. 
Result so far: 1000.0
If we subtract 0 from 79, we get 79.
Bring next digit (6) of the dividend behind the 79 and repeat the process: 796 / 84

Going ahead to step 6:
796 divided by 84 is 9 with a remainder of 40.
Record the quotient 9 as the next digit in the result. 
Result so far: 10009.0
If we subtract 756 from 796, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 7:
When dividing 400 by 84, we get 4 with a remainder of 64.
The next digit of our result is 4. 
Result so far: 10009.4
Deduct 336 from 400 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 8:
If we divide 640 by 84, we get 7 and a remainder of 52.
Write down 7 as next digit of the result. 
Result so far: 10009.47
Deduct 588 from 640 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Step 9:
520 divided by 84 is 6 with a remainder of 16.
The next digit of our result is 6. 
Result so far: 10009.476
Deduct 504 from 520 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 10:
The number 84 fits into 160 1 times, leaving a remainder of 76.
Put 1 as the next digit of the answer. 
Result so far: 10009.4761
If we subtract 84 from 160, we get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

On to step 11:
The number 84 fits into 760 9 times, leaving a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 10009.47619
The remainder is 4 after subtracting 756 from 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 12:
40 divided by 84 is 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 10009.47619
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 13:
The number 84 fits into 400 4 times, leaving a remainder of 64.
Record the quotient 4 as the next digit in the result. 
Result so far: 10009.4761904
Subtracting 336 from 400 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 14:
The number 84 fits into 640 7 times, leaving a remainder of 52.
Put 7 as the next digit of the answer. 
Result so far: 10009.47619047
The remainder is 52 after subtracting 588 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Our division results in 10009.47619047 with a remaining 5.2e-08.