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

Moving on to step 1:
When dividing 9 by 5, we get 1 with a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 5 from 9 and we're left with 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 5

On to step 2:
If we divide 47 by 5, we get 9 and a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 19.0
Subtract 45 from 47 to get 2.
Take the next digit (8) from the dividend and append it to 2, then repeat: 28 / 5

Moving on to step 3:
When dividing 28 by 5, we get 5 with a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 195.0
The remainder is 3 after subtracting 25 from 28.
Take the next digit (2) from the dividend and append it to 3, then repeat: 32 / 5

Step 4:
5 goes into 32 6 times with a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 1956.0
Subtract 30 from 32 to get 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 5

On to step 5:
5 goes into 24 4 times with a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 19564.0
Subtract 20 from 24 to get 4.
Append the next digit (5) from the dividend to 4 and continue with: 45 / 5

Going ahead to step 6:
The number 5 fits into 45 9 times, leaving a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 195649.0
Subtract 45 from 45 to 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:
5 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 195649.0
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.

Going ahead to step 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 195649.0
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.

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