9861 ÷ 18 
The aim is to understand the frequency of 18 in 9861.

On to step 1:
18 can be fit into 9 0 times, resulting in a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 18

Advancing to step 2:
The number 18 fits into 98 5 times, leaving a remainder of 8.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 90 from 98 and we're left with 8.
Fetch the next digit (6) from the dividend, attach it to 8 and continue: 86 / 18

Step 3:
If we divide 86 by 18, we get 4 and a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 54.0
The remainder is 14 after subtracting 72 from 86.
Include the next digit (1) from the dividend after 14, then repeat: 141 / 18

On to step 4:
The number 18 fits into 141 7 times, leaving a remainder of 15.
The next digit of our result is 7. 
Result so far: 547.0
If we take 126 away from 141, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 5:
When dividing 150 by 18, we get 8 with a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 547.8
Deduct 144 from 150 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 6:
60 divided by 18 is 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 547.83
If we subtract 54 from 60, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 7:
When dividing 60 by 18, we get 3 with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 547.833
Subtracting 54 from 60 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The quotient of the division is 547.833, and the remainder is 0.0006.