515861 divided by 18 
We want to divide 515861 by 18.

Step 1:
The number 18 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 18

Let's proceed to step 2:
If we divide 51 by 18, we get 2 and a remainder of 15.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 15 after subtracting 36 from 51.
Include the next digit (5) from the dividend after 15, then repeat: 155 / 18

Going ahead to step 3:
18 goes into 155 8 times with a remainder of 11.
Put 8 as the next digit of the answer. 
Result so far: 28.0
Subtracting 144 from 155 leaves us with 11.
Fetch the next digit (8) from the dividend, attach it to 11 and continue: 118 / 18

On to step 4:
18 can be fit into 118 6 times, resulting in a remainder of 10.
Use 6 as the next digit of our solution. 
Result so far: 286.0
The remainder is 10 after subtracting 108 from 118.
Append the next digit (6) from the dividend to 10 and continue with: 106 / 18

Moving on to step 5:
If we divide 106 by 18, we get 5 and a remainder of 16.
Write down 5 as next digit of the result. 
Result so far: 2865.0
The remainder is 16 after subtracting 90 from 106.
Include the next digit (1) from the dividend after 16, then repeat: 161 / 18

Going ahead to step 6:
18 can be fit into 161 8 times, resulting in a remainder of 17.
The next digit of our result is 8. 
Result so far: 28658.0
The remainder is 17 after subtracting 144 from 161.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 7:
18 goes into 170 9 times with a remainder of 8.
Write down 9 as next digit of the result. 
Result so far: 28658.9
If we subtract 162 from 170, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 8:
The number 18 fits into 80 4 times, leaving a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 28658.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.

Moving on to step 9:
80 divided by 18 is 4 with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 28658.944
Subtracting 72 from 80 leaves us 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.

The quotient of the division is 28658.944, and the remainder is 0.0008.