842037 divided by 5 
The aim is to understand the frequency of 5 in 842037.

Step 1:
5 goes into 8 1 times with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 5 away from 8, we end up with 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 5

Step 2:
5 goes into 34 6 times with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
The remainder is 4 after subtracting 30 from 34.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 5

On to step 3:
42 divided by 5 is 8 with a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 168.0
The remainder is 2 after subtracting 40 from 42.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 5

Step 4:
5 can be fit into 20 4 times, resulting in a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 1684.0
If we subtract 20 from 20, we get 0.
Fetch the next digit (3) from the dividend, attach it to 0 and continue: 3 / 5

Moving on to step 5:
3 divided by 5 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 16840.0
Subtract 0 from 3 to get 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 5

On to step 6:
When dividing 37 by 5, we get 7 with a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 168407.0
If we take 35 away from 37, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
20 divided by 5 is 4 with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 168407.4
If we subtract 20 from 20, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
0 divided by 5 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 168407.4
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
When dividing 0 by 5, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 168407.4
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 168407.4 and a remainder of 0.0.