We divide 807578 by 5
The aim is to understand the frequency of 5 in 807578.

Going ahead to step 1:
When dividing 8 by 5, we get 1 with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 3 after subtracting 5 from 8.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 5

Step 2:
5 goes into 30 6 times with a remainder of 0.
The next digit of our result is 6. 
Result so far: 16.0
The remainder is 0 after subtracting 30 from 30.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 5

On to step 3:
If we divide 7 by 5, we get 1 and a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 161.0
The remainder is 2 after subtracting 5 from 7.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 5

Advancing to step 4:
When dividing 25 by 5, we get 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 1615.0
Deduct 25 from 25 and we're left with 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 5

On to step 5:
7 divided by 5 is 1 with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 16151.0
The remainder is 2 after subtracting 5 from 7.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 5

Step 6:
5 goes into 28 5 times with a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 161515.0
The remainder is 3 after subtracting 25 from 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
If we divide 30 by 5, we get 6 and a remainder of 0.
The next digit of our result is 6. 
Result so far: 161515.6
Deduct 30 from 30 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.

Let's proceed 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: 161515.6
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.

Let's proceed to step 9:
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: 161515.6
If we subtract 0 from 0, 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.

Our division results in 161515.6 with a remaining 0.0.