Let's divide 506148 by 18
We want to figure out the number of times 506148 can be divided by 18.

Advancing to step 1:
5 divided by 18 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 18

Let's proceed to step 2:
18 goes into 50 2 times with a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 36 away from 50, we end up with 14.
Append the next digit (6) from the dividend to 14 and continue with: 146 / 18

Going ahead to step 3:
If we divide 146 by 18, we get 8 and a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 28.0
The remainder is 2 after subtracting 144 from 146.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 18

Let's proceed to step 4:
The number 18 fits into 21 1 times, leaving a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 281.0
If we subtract 18 from 21, we get 3.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 18

On to step 5:
34 divided by 18 is 1 with a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 2811.0
If we take 18 away from 34, we end up with 16.
Bring next digit (8) of the dividend behind the 16 and repeat the process: 168 / 18

Let's proceed to step 6:
168 divided by 18 is 9 with a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 28119.0
If we subtract 162 from 168, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 7:
If we divide 60 by 18, we get 3 and a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 28119.3
The remainder is 6 after subtracting 54 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
When dividing 60 by 18, we get 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 28119.33
Subtract 54 from 60 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The quotient of the division is 28119.33, and the remainder is 0.006.