340787 divided by 17 
We want to figure out the number of times 340787 can be divided by 17.

Moving on to step 1:
3 divided by 17 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 17

Step 2:
17 goes into 34 2 times with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 34 from 34 to get 0.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 17

Step 3:
17 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 20.0
Deduct 0 from 0 and we're left with 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 17

Moving on to step 4:
The number 17 fits into 7 0 times, leaving a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 200.0
Deduct 0 from 7 and we're left with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 17

Step 5:
The number 17 fits into 78 4 times, leaving a remainder of 10.
Record the quotient 4 as the next digit in the result. 
Result so far: 2004.0
Subtract 68 from 78 to get 10.
Grab the next digit (7) from the dividend, add it to 10, then carry on: 107 / 17

Let's proceed to step 6:
The number 17 fits into 107 6 times, leaving a remainder of 5.
Use 6 as the next digit of our solution. 
Result so far: 20046.0
If we take 102 away from 107, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
If we divide 50 by 17, we get 2 and a remainder of 16.
The next digit of our result is 2. 
Result so far: 20046.2
If we subtract 34 from 50, 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.

Advancing to step 8:
160 divided by 17 is 9 with a remainder of 7.
Write down 9 as next digit of the result. 
Result so far: 20046.29
Deduct 153 from 160 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 9:
When dividing 70 by 17, we get 4 with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 20046.294
Deduct 68 from 70 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 10:
17 goes into 20 1 times with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 20046.2941
Deduct 17 from 20 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 11:
17 goes into 30 1 times with a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 20046.29411
Subtract 17 from 30 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final outcome is 20046.29411, with a leftover of 1.3e-05.