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

Step 1:
5 goes into 7 1 times with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 2 after subtracting 5 from 7.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 5

Going ahead to step 2:
The number 5 fits into 28 5 times, leaving a remainder of 3.
Use 5 as the next digit of our solution. 
Result so far: 15.0
The remainder is 3 after subtracting 25 from 28.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 5

Going ahead to step 3:
If we divide 38 by 5, we get 7 and a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 157.0
If we take 35 away from 38, we end up with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 5

Step 4:
If we divide 39 by 5, we get 7 and a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 1577.0
Deduct 35 from 39 and we're left with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 5

Step 5:
When dividing 42 by 5, we get 8 with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 15778.0
Subtract 40 from 42 to get 2.
Append the next digit (3) from the dividend to 2 and continue with: 23 / 5

Advancing to step 6:
23 divided by 5 is 4 with a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 157784.0
Deduct 20 from 23 and we're left with 3.
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:
The number 5 fits into 30 6 times, leaving a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 157784.6
Subtracting 30 from 30 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 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 157784.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.

Moving on to step 9:
The number 5 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 157784.6
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 result is 157784.6 with a remainder of 0.0.