508942 divided by 18 
We want to figure out the number of times 508942 can be divided by 18.

Going ahead to step 1:
5 divided by 18 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 18

Going ahead to step 2:
18 goes into 50 2 times with a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 14 after subtracting 36 from 50.
Grab the next digit (8) from the dividend, add it to 14, then carry on: 148 / 18

Let's proceed to step 3:
When dividing 148 by 18, we get 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 28.0
Subtracting 144 from 148 leaves us with 4.
Grab the next digit (9) from the dividend, add it to 4, then carry on: 49 / 18

Advancing to step 4:
49 divided by 18 is 2 with a remainder of 13.
Use 2 as the next digit of our solution. 
Result so far: 282.0
If we take 36 away from 49, we end up with 13.
Fetch the next digit (4) from the dividend, attach it to 13 and continue: 134 / 18

Step 5:
18 can be fit into 134 7 times, resulting in a remainder of 8.
The next digit of our result is 7. 
Result so far: 2827.0
Subtract 126 from 134 to get 8.
Fetch the next digit (2) from the dividend, attach it to 8 and continue: 82 / 18

On to step 6:
82 divided by 18 is 4 with a remainder of 10.
The next digit of our result is 4. 
Result so far: 28274.0
If we subtract 72 from 82, 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.

On to step 7:
The number 18 fits into 100 5 times, leaving a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 28274.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.

Advancing to step 8:
18 can be fit into 100 5 times, resulting in a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 28274.55
Subtract 90 from 100 to 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.

Our division results in 28274.55 with a remaining 0.01.