We divide 511786 by 18
Our goal is to divide 511786 by 18.

Moving on to step 1:
18 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 18

Advancing to step 2:
The number 18 fits into 51 2 times, leaving a remainder of 15.
Use 2 as the next digit of our solution. 
Result so far: 2.0
The remainder is 15 after subtracting 36 from 51.
Fetch the next digit (1) from the dividend, attach it to 15 and continue: 151 / 18

Going ahead to step 3:
If we divide 151 by 18, we get 8 and a remainder of 7.
The number 8 becomes the next digit in our result. 
Result so far: 28.0
Deduct 144 from 151 and we're left with 7.
Include the next digit (7) from the dividend after 7, then repeat: 77 / 18

On to step 4:
18 goes into 77 4 times with a remainder of 5.
Write down 4 as next digit of the result. 
Result so far: 284.0
The remainder is 5 after subtracting 72 from 77.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 18

Let's proceed to step 5:
58 divided by 18 is 3 with a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 2843.0
If we subtract 54 from 58, we get 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 18

On to step 6:
If we divide 46 by 18, we get 2 and a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 28432.0
If we subtract 36 from 46, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 7:
18 goes into 100 5 times with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 28432.5
Subtracting 90 from 100 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
The number 18 fits into 100 5 times, leaving a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 28432.55
If we take 90 away from 100, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The quotient of the division is 28432.55, and the remainder is 0.01.