511798 divided by 16 
We want to divide 511798 by 16.

Going ahead to step 1:
The number 16 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 16

Let's proceed to step 2:
The number 16 fits into 51 3 times, leaving a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 3.0
The remainder is 3 after subtracting 48 from 51.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 16

Going ahead to step 3:
16 can be fit into 31 1 times, resulting in a remainder of 15.
Use 1 as the next digit of our solution. 
Result so far: 31.0
If we subtract 16 from 31, we get 15.
Include the next digit (7) from the dividend after 15, then repeat: 157 / 16

Let's proceed to step 4:
157 divided by 16 is 9 with a remainder of 13.
Put 9 as the next digit of the answer. 
Result so far: 319.0
The remainder is 13 after subtracting 144 from 157.
Include the next digit (9) from the dividend after 13, then repeat: 139 / 16

Going ahead to step 5:
If we divide 139 by 16, we get 8 and a remainder of 11.
Write down 8 as next digit of the result. 
Result so far: 3198.0
If we take 128 away from 139, we end up with 11.
Include the next digit (8) from the dividend after 11, then repeat: 118 / 16

Moving on to step 6:
118 divided by 16 is 7 with a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 31987.0
Subtracting 112 from 118 leaves us 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.

Advancing to step 7:
60 divided by 16 is 3 with a remainder of 12.
Use 3 as the next digit of our solution. 
Result so far: 31987.3
Subtract 48 from 60 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.

Let's proceed to step 8:
16 can be fit into 120 7 times, resulting in a remainder of 8.
Write down 7 as next digit of the result. 
Result so far: 31987.37
Deduct 112 from 120 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 9:
If we divide 80 by 16, we get 5 and a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 31987.375
Subtract 80 from 80 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.

On to step 10:
16 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 31987.375
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.

Let's proceed to step 11:
When dividing 0 by 16, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 31987.375
Subtracting 0 from 0 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.

After the division, we end up with 31987.375 and a remainder of 0.0.