165251 ÷ 18 
We want to divide 165251 by 18.

Going ahead to step 1:
The number 18 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 18

On to step 2:
18 goes into 16 0 times with a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 16, we end up with 16.
Fetch the next digit (5) from the dividend, attach it to 16 and continue: 165 / 18

Going ahead to step 3:
18 goes into 165 9 times with a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
If we subtract 162 from 165, we get 3.
Fetch the next digit (2) from the dividend, attach it to 3 and continue: 32 / 18

Going ahead to step 4:
32 divided by 18 is 1 with a remainder of 14.
Record the quotient 1 as the next digit in the result. 
Result so far: 91.0
If we subtract 18 from 32, we get 14.
Take the next digit (5) from the dividend and append it to 14, then repeat: 145 / 18

Step 5:
18 can be fit into 145 8 times, resulting in a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 918.0
If we subtract 144 from 145, we get 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 18

Step 6:
When dividing 11 by 18, we get 0 with a remainder of 11.
Write down 0 as next digit of the result. 
Result so far: 9180.0
Subtract 0 from 11 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 7:
110 divided by 18 is 6 with a remainder of 2.
The next digit of our result is 6. 
Result so far: 9180.6
The remainder is 2 after subtracting 108 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
18 goes into 20 1 times with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 9180.61
Subtract 18 from 20 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 9:
18 can be fit into 20 1 times, resulting in a remainder of 2.
The next digit of our result is 1. 
Result so far: 9180.611
Subtract 18 from 20 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 9180.611 and a remainder of 0.0002.