506479 ÷ 18 
We want to divide 506479 by 18.

Going ahead to step 1:
When dividing 5 by 18, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 18

Let's proceed to step 2:
18 goes into 50 2 times with a remainder of 14.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 14 after subtracting 36 from 50.
Take the next digit (6) from the dividend and append it to 14, then repeat: 146 / 18

Moving on to step 3:
18 can be fit into 146 8 times, resulting in a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 28.0
Subtract 144 from 146 to get 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 18

Let's proceed to step 4:
The number 18 fits into 24 1 times, leaving a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 281.0
Deduct 18 from 24 and we're left with 6.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 18

Step 5:
The number 18 fits into 67 3 times, leaving a remainder of 13.
The number 3 becomes the next digit in our result. 
Result so far: 2813.0
If we take 54 away from 67, we end up with 13.
Take the next digit (9) from the dividend and append it to 13, then repeat: 139 / 18

Let's proceed to step 6:
139 divided by 18 is 7 with a remainder of 13.
The next digit of our result is 7. 
Result so far: 28137.0
Subtract 126 from 139 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 7:
18 goes into 130 7 times with a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 28137.7
The remainder is 4 after subtracting 126 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
The number 18 fits into 40 2 times, leaving a remainder of 4.
The next digit of our result is 2. 
Result so far: 28137.72
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 9:
If we divide 40 by 18, we get 2 and a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 28137.722
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 28137.722 with a remaining 0.0004.