Let's divide 865961 by 18
Let's see how many times 18 fits into 865961.

Step 1:
18 goes into 8 0 times with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Take the next digit (6) from the dividend and append it to 8, then repeat: 86 / 18

On to step 2:
18 goes into 86 4 times with a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtracting 72 from 86 leaves us with 14.
Fetch the next digit (5) from the dividend, attach it to 14 and continue: 145 / 18

Moving on to step 3:
If we divide 145 by 18, we get 8 and a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 48.0
Subtract 144 from 145 to get 1.
Append the next digit (9) from the dividend to 1 and continue with: 19 / 18

On to step 4:
18 can be fit into 19 1 times, resulting in a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 481.0
If we subtract 18 from 19, we get 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 18

Going ahead to step 5:
18 can be fit into 16 0 times, resulting in a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 4810.0
If we subtract 0 from 16, we get 16.
Append the next digit (1) from the dividend to 16 and continue with: 161 / 18

Step 6:
When dividing 161 by 18, we get 8 with a remainder of 17.
Record the quotient 8 as the next digit in the result. 
Result so far: 48108.0
Subtracting 144 from 161 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 7:
If we divide 170 by 18, we get 9 and a remainder of 8.
Write down 9 as next digit of the result. 
Result so far: 48108.9
If we take 162 away from 170, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 8:
18 can be fit into 80 4 times, resulting in a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 48108.94
The remainder is 8 after subtracting 72 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 9:
80 divided by 18 is 4 with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 48108.944
If we take 72 away from 80, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 48108.944 and a remainder of 0.0008.