Let's divide 974349 by 5
The aim is to understand the frequency of 5 in 974349.

Moving on to step 1:
When dividing 9 by 5, we get 1 with a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 5 away from 9, we end up with 4.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 5

Going ahead to step 2:
If we divide 47 by 5, we get 9 and a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 19.0
If we take 45 away from 47, we end up with 2.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 5

Going ahead to step 3:
The number 5 fits into 24 4 times, leaving a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 194.0
If we take 20 away from 24, we end up with 4.
Take the next digit (3) from the dividend and append it to 4, then repeat: 43 / 5

Going ahead to step 4:
The number 5 fits into 43 8 times, leaving a remainder of 3.
The number 8 becomes the next digit in our result. 
Result so far: 1948.0
Deduct 40 from 43 and we're left with 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 5

On to step 5:
5 goes into 34 6 times with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 19486.0
If we take 30 away from 34, we end up with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 5

Advancing to step 6:
When dividing 49 by 5, we get 9 with a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 194869.0
Deduct 45 from 49 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 7:
40 divided by 5 is 8 with a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 194869.8
The remainder is 0 after subtracting 40 from 40.
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.
The next digit of our result is 0. 
Result so far: 194869.8
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.

Moving on to step 9:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 194869.8
Subtract 0 from 0 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.

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