506391 divided by 17 
Our goal is to divide 506391 by 17.

On to step 1:
If we divide 5 by 17, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 17

Advancing to step 2:
When dividing 50 by 17, we get 2 with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 34 from 50 and we're left with 16.
Append the next digit (6) from the dividend to 16 and continue with: 166 / 17

Going ahead to step 3:
17 can be fit into 166 9 times, resulting in a remainder of 13.
Write down 9 as next digit of the result. 
Result so far: 29.0
If we take 153 away from 166, we end up with 13.
Include the next digit (3) from the dividend after 13, then repeat: 133 / 17

Going ahead to step 4:
17 can be fit into 133 7 times, resulting in a remainder of 14.
The next digit of our result is 7. 
Result so far: 297.0
Deduct 119 from 133 and we're left with 14.
Append the next digit (9) from the dividend to 14 and continue with: 149 / 17

On to step 5:
The number 17 fits into 149 8 times, leaving a remainder of 13.
Use 8 as the next digit of our solution. 
Result so far: 2978.0
If we subtract 136 from 149, we get 13.
Append the next digit (1) from the dividend to 13 and continue with: 131 / 17

Going ahead to step 6:
The number 17 fits into 131 7 times, leaving a remainder of 12.
Write down 7 as next digit of the result. 
Result so far: 29787.0
Deduct 119 from 131 and we're left 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.

On to step 7:
120 divided by 17 is 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 29787.7
Subtract 119 from 120 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 8:
17 goes into 10 0 times with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 29787.7
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 9:
17 can be fit into 100 5 times, resulting in a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 29787.705
The remainder is 15 after subtracting 85 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 10:
17 can be fit into 150 8 times, resulting in a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 29787.7058
If we take 136 away from 150, we end up 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.

Moving on to step 11:
140 divided by 17 is 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 29787.70588
Subtracting 136 from 140 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 29787.70588 with a remainder of 4e-06.