We divide 509342 by 16
Let's see how many times 16 fits into 509342.

Going ahead to step 1:
16 can be fit into 5 0 times, resulting in 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.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 16

Advancing to step 2:
16 can be fit into 50 3 times, resulting in a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtract 48 from 50 to get 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 16

Going ahead to step 3:
If we divide 29 by 16, we get 1 and a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 31.0
Subtracting 16 from 29 leaves us with 13.
Take the next digit (3) from the dividend and append it to 13, then repeat: 133 / 16

Moving on to step 4:
16 goes into 133 8 times with a remainder of 5.
Put 8 as the next digit of the answer. 
Result so far: 318.0
Subtract 128 from 133 to get 5.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 16

Let's proceed to step 5:
54 divided by 16 is 3 with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 3183.0
Subtracting 48 from 54 leaves us with 6.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 16

Let's proceed to step 6:
16 can be fit into 62 3 times, resulting in a remainder of 14.
The next digit of our result is 3. 
Result so far: 31833.0
Deduct 48 from 62 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 7:
If we divide 140 by 16, we get 8 and a remainder of 12.
The next digit of our result is 8. 
Result so far: 31833.8
Subtract 128 from 140 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 8:
When dividing 120 by 16, we get 7 with a remainder of 8.
Use 7 as the next digit of our solution. 
Result so far: 31833.87
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.

On to step 9:
The number 16 fits into 80 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 31833.875
Subtracting 80 from 80 leaves us 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 10:
When dividing 0 by 16, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 31833.875
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 11:
The number 16 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 31833.875
Subtract 0 from 0 to get 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 31833.875, with a leftover of 0.0.