We divide 107170 by 9
The aim is to understand the frequency of 9 in 107170.

Moving on to step 1:
1 divided by 9 is 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 9

Step 2:
9 can be fit into 10 1 times, resulting in a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 9 from 10, we get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 9

Advancing to step 3:
When dividing 17 by 9, we get 1 with a remainder of 8.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Subtracting 9 from 17 leaves us with 8.
Grab the next digit (1) from the dividend, add it to 8, then carry on: 81 / 9

Let's proceed to step 4:
The number 9 fits into 81 9 times, leaving a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 119.0
Subtract 81 from 81 to get 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 9

On to step 5:
9 goes into 7 0 times with a remainder of 7.
The next digit of our result is 0. 
Result so far: 1190.0
The remainder is 7 after subtracting 0 from 7.
Grab the next digit (0) from the dividend, add it to 7, then carry on: 70 / 9

Let's proceed to step 6:
When dividing 70 by 9, we get 7 with a remainder of 7.
The next digit of our result is 7. 
Result so far: 11907.0
If we take 63 away from 70, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 7:
9 can be fit into 70 7 times, resulting in a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 11907.7
If we take 63 away from 70, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 8:
If we divide 70 by 9, we get 7 and a remainder of 7.
Write down 7 as next digit of the result. 
Result so far: 11907.77
Deduct 63 from 70 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The quotient of the division is 11907.77, and the remainder is 0.007.