We look at the division of 975770 by 5 
The aim is to understand the frequency of 5 in 975770.

Going ahead to step 1:
5 goes into 9 1 times with a remainder of 4.
Put 1 as the next digit of the answer. 
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

Let's proceed to step 2:
5 can be fit into 47 9 times, resulting in a remainder of 2.
The next digit of our result is 9. 
Result so far: 19.0
The remainder is 2 after subtracting 45 from 47.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 5

On to step 3:
If we divide 25 by 5, we get 5 and a remainder of 0.
The next digit of our result is 5. 
Result so far: 195.0
If we subtract 25 from 25, we get 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 5

On to step 4:
The number 5 fits into 7 1 times, leaving a remainder of 2.
The next digit of our result is 1. 
Result so far: 1951.0
Subtract 5 from 7 to get 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 5

On to step 5:
When dividing 27 by 5, we get 5 with a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 19515.0
If we subtract 25 from 27, we get 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 5

Step 6:
20 divided by 5 is 4 with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 195154.0
Deduct 20 from 20 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 7:
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: 195154.0
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.

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

The quotient of the division is 195154.0, and the remainder is 0.0.