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

On to step 1:
18 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 18

Going ahead to step 2:
When dividing 50 by 18, we get 2 with a remainder of 14.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Deduct 36 from 50 and we're left with 14.
Include the next digit (5) from the dividend after 14, then repeat: 145 / 18

Advancing to step 3:
The number 18 fits into 145 8 times, leaving a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 28.0
Subtracting 144 from 145 leaves us with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 18

On to step 4:
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: 280.0
If we subtract 0 from 16, we get 16.
Include the next digit (4) from the dividend after 16, then repeat: 164 / 18

On to step 5:
If we divide 164 by 18, we get 9 and a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 2809.0
Subtract 162 from 164 to get 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 18

Advancing to step 6:
If we divide 25 by 18, we get 1 and a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 28091.0
The remainder is 7 after subtracting 18 from 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
If we divide 70 by 18, we get 3 and a remainder of 16.
Use 3 as the next digit of our solution. 
Result so far: 28091.3
Deduct 54 from 70 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 8:
When dividing 160 by 18, we get 8 with a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 28091.38
Deduct 144 from 160 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 9:
When dividing 160 by 18, we get 8 with a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 28091.388
If we subtract 144 from 160, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

In conclusion, the division gives 28091.388 with a balance of 0.0016.