We're dividing 785986 by 5 
The aim is to understand the frequency of 5 in 785986.

Let's proceed to step 1:
5 can be fit into 7 1 times, resulting in a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 5 from 7 and we're left with 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 5

Going ahead to step 2:
If we divide 28 by 5, we get 5 and a remainder of 3.
Use 5 as the next digit of our solution. 
Result so far: 15.0
If we subtract 25 from 28, we get 3.
Append the next digit (5) from the dividend to 3 and continue with: 35 / 5

Going ahead to step 3:
5 goes into 35 7 times with a remainder of 0.
Record the quotient 7 as the next digit in the result. 
Result so far: 157.0
If we subtract 35 from 35, we get 0.
Bring next digit (9) of the dividend behind the 0 and repeat the process: 9 / 5

Step 4:
9 divided by 5 is 1 with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 1571.0
Subtract 5 from 9 to get 4.
Bring next digit (8) of the dividend behind the 4 and repeat the process: 48 / 5

Let's proceed to step 5:
The number 5 fits into 48 9 times, leaving a remainder of 3.
The next digit of our result is 9. 
Result so far: 15719.0
Deduct 45 from 48 and we're left with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 5

On to step 6:
36 divided by 5 is 7 with a remainder of 1.
The next digit of our result is 7. 
Result so far: 157197.0
The remainder is 1 after subtracting 35 from 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
The number 5 fits into 10 2 times, leaving a remainder of 0.
The next digit of our result is 2. 
Result so far: 157197.2
The remainder is 0 after subtracting 10 from 10.
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 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 157197.2
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.

Advancing to step 9:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 157197.2
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.

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