We divide 510845 by 18
We're looking to find how many times 18 goes into 510845.

Moving on to step 1:
The number 18 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 18

Moving on to step 2:
When dividing 51 by 18, we get 2 with a remainder of 15.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 36 away from 51, we end up with 15.
Append the next digit (0) from the dividend to 15 and continue with: 150 / 18

Advancing to step 3:
150 divided by 18 is 8 with a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 28.0
If we subtract 144 from 150, we get 6.
Bring next digit (8) of the dividend behind the 6 and repeat the process: 68 / 18

Going ahead to step 4:
18 goes into 68 3 times with a remainder of 14.
Record the quotient 3 as the next digit in the result. 
Result so far: 283.0
If we take 54 away from 68, we end up with 14.
Fetch the next digit (4) from the dividend, attach it to 14 and continue: 144 / 18

Step 5:
144 divided by 18 is 8 with a remainder of 0.
The next digit of our result is 8. 
Result so far: 2838.0
If we take 144 away from 144, we end up with 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 18

Let's proceed to step 6:
If we divide 5 by 18, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 28380.0
Subtract 0 from 5 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 7:
18 goes into 50 2 times with a remainder of 14.
The number 2 becomes the next digit in our result. 
Result so far: 28380.2
The remainder is 14 after subtracting 36 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 8:
The number 18 fits into 140 7 times, leaving a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 28380.27
The remainder is 14 after subtracting 126 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 9:
The number 18 fits into 140 7 times, leaving a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 28380.277
The remainder is 14 after subtracting 126 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The quotient of the division is 28380.277, and the remainder is 0.0014.