We're dividing 50182 by 18 
We want to divide 50182 by 18.

On to step 1:
The number 18 fits into 5 0 times, leaving 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

Step 2:
18 can be fit into 50 2 times, resulting in a remainder of 14.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 36 from 50, we get 14.
Include the next digit (1) from the dividend after 14, then repeat: 141 / 18

Going ahead to step 3:
18 can be fit into 141 7 times, resulting in a remainder of 15.
Put 7 as the next digit of the answer. 
Result so far: 27.0
The remainder is 15 after subtracting 126 from 141.
Bring next digit (8) of the dividend behind the 15 and repeat the process: 158 / 18

On to step 4:
When dividing 158 by 18, we get 8 with a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 278.0
If we subtract 144 from 158, we get 14.
Take the next digit (2) from the dividend and append it to 14, then repeat: 142 / 18

On to step 5:
When dividing 142 by 18, we get 7 with a remainder of 16.
The number 7 becomes the next digit in our result. 
Result so far: 2787.0
If we subtract 126 from 142, 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.

Going ahead to step 6:
18 can be fit into 160 8 times, resulting in a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 2787.8
Subtracting 144 from 160 leaves us 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.

Step 7:
When dividing 160 by 18, we get 8 with a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 2787.88
The remainder is 16 after subtracting 144 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The quotient of the division is 2787.88, and the remainder is 0.016.