We look at the division of 502838 by 16 
We want to divide 502838 by 16.

Going ahead to step 1:
16 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 16

Going ahead to step 2:
When dividing 50 by 16, we get 3 with a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 48 away from 50, we end up with 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 16

Advancing to step 3:
If we divide 22 by 16, we get 1 and a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 31.0
Subtracting 16 from 22 leaves us with 6.
Fetch the next digit (8) from the dividend, attach it to 6 and continue: 68 / 16

Going ahead to step 4:
When dividing 68 by 16, we get 4 with a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 314.0
Subtract 64 from 68 to get 4.
Fetch the next digit (3) from the dividend, attach it to 4 and continue: 43 / 16

Going ahead to step 5:
If we divide 43 by 16, we get 2 and a remainder of 11.
Write down 2 as next digit of the result. 
Result so far: 3142.0
The remainder is 11 after subtracting 32 from 43.
Fetch the next digit (8) from the dividend, attach it to 11 and continue: 118 / 16

Advancing to step 6:
When dividing 118 by 16, we get 7 with a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 31427.0
If we take 112 away from 118, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
When dividing 60 by 16, we get 3 with a remainder of 12.
The number 3 becomes the next digit in our result. 
Result so far: 31427.3
Subtracting 48 from 60 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 8:
If we divide 120 by 16, we get 7 and a remainder of 8.
The next digit of our result is 7. 
Result so far: 31427.37
Subtract 112 from 120 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 9:
16 goes into 80 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 31427.375
The remainder is 0 after subtracting 80 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
16 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 31427.375
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 11:
When dividing 0 by 16, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 31427.375
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 31427.375, with a leftover of 0.0.