We're dividing 975117 by 5 
The aim is to understand the frequency of 5 in 975117.

Let's proceed to step 1:
When dividing 9 by 5, we get 1 with a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 4 after subtracting 5 from 9.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 5

Moving on to step 2:
When dividing 47 by 5, we get 9 with a remainder of 2.
The next digit of our result is 9. 
Result so far: 19.0
Deduct 45 from 47 and we're left with 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 5

Going ahead to step 3:
5 can be fit into 25 5 times, resulting in a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 195.0
Subtract 25 from 25 to get 0.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 5

Advancing to step 4:
5 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 1950.0
Subtract 0 from 1 to get 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 5

Let's proceed to step 5:
5 can be fit into 11 2 times, resulting in a remainder of 1.
The next digit of our result is 2. 
Result so far: 19502.0
The remainder is 1 after subtracting 10 from 11.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 5

Step 6:
The number 5 fits into 17 3 times, leaving a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 195023.0
Deduct 15 from 17 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
When dividing 20 by 5, we get 4 with a remainder of 0.
The next digit of our result is 4. 
Result so far: 195023.4
The remainder is 0 after subtracting 20 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
5 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 195023.4
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
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: 195023.4
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.

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