981858 ÷ 9 
The aim is to understand the frequency of 9 in 981858.

On to step 1:
9 goes into 9 1 times with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 9 from 9 and we're left with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 9

On to step 2:
The number 9 fits into 8 0 times, leaving a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
If we take 0 away from 8, we end up with 8.
Append the next digit (1) from the dividend to 8 and continue with: 81 / 9

Let's proceed to step 3:
9 goes into 81 9 times with a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 109.0
Deduct 81 from 81 and we're left with 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 9

Let's proceed to step 4:
If we divide 8 by 9, we get 0 and a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 1090.0
Subtract 0 from 8 to get 8.
Include the next digit (5) from the dividend after 8, then repeat: 85 / 9

Advancing to step 5:
9 goes into 85 9 times with a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 10909.0
If we take 81 away from 85, we end up with 4.
Include the next digit (8) from the dividend after 4, then repeat: 48 / 9

Advancing to step 6:
9 goes into 48 5 times with a remainder of 3.
The number 5 becomes the next digit in our result. 
Result so far: 109095.0
Deduct 45 from 48 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
9 can be fit into 30 3 times, resulting in a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 109095.3
Subtracting 27 from 30 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 8:
30 divided by 9 is 3 with a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 109095.33
Subtracting 27 from 30 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

After the division, we end up with 109095.33 and a remainder of 0.003.