862385 ÷ 5 
The aim is to understand the frequency of 5 in 862385.

Step 1:
The number 5 fits into 8 1 times, leaving a remainder of 3.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 5 from 8 and we're left with 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 5

Step 2:
If we divide 36 by 5, we get 7 and a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 17.0
If we subtract 35 from 36, we get 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 5

Going ahead to step 3:
5 goes into 12 2 times with a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 172.0
If we subtract 10 from 12, we get 2.
Include the next digit (3) from the dividend after 2, then repeat: 23 / 5

Going ahead to step 4:
When dividing 23 by 5, we get 4 with a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 1724.0
Deduct 20 from 23 and we're left with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 5

Advancing to step 5:
The number 5 fits into 38 7 times, leaving a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 17247.0
Subtracting 35 from 38 leaves us with 3.
Grab the next digit (5) from the dividend, add it to 3, then carry on: 35 / 5

Moving on to step 6:
5 goes into 35 7 times with a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 172477.0
If we subtract 35 from 35, 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.

Advancing to step 7:
0 divided by 5 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 172477.0
Subtracting 0 from 0 leaves us 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.

On to step 8:
If we divide 0 by 5, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 172477.0
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.

The final outcome is 172477.0, with a leftover of 0.0.