517017 divided by 42 
Let's see how many times 42 fits into 517017.

Step 1:
The number 42 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 42

Step 2:
The number 42 fits into 51 1 times, leaving a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 9 after subtracting 42 from 51.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 42

Step 3:
97 divided by 42 is 2 with a remainder of 13.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtract 84 from 97 to get 13.
Grab the next digit (0) from the dividend, add it to 13, then carry on: 130 / 42

Let's proceed to step 4:
42 goes into 130 3 times with a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 123.0
Subtract 126 from 130 to get 4.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 42

On to step 5:
If we divide 41 by 42, we get 0 and a remainder of 41.
The number 0 becomes the next digit in our result. 
Result so far: 1230.0
Subtract 0 from 41 to get 41.
Take the next digit (7) from the dividend and append it to 41, then repeat: 417 / 42

Moving on to step 6:
42 goes into 417 9 times with a remainder of 39.
Write down 9 as next digit of the result. 
Result so far: 12309.0
The remainder is 39 after subtracting 378 from 417.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Advancing to step 7:
When dividing 390 by 42, we get 9 with a remainder of 12.
Use 9 as the next digit of our solution. 
Result so far: 12309.9
If we take 378 away from 390, we end up 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 8:
If we divide 120 by 42, we get 2 and a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 12309.92
If we take 84 away from 120, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 9:
When dividing 360 by 42, we get 8 with a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 12309.928
If we subtract 336 from 360, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 10:
42 can be fit into 240 5 times, resulting in a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 12309.9285
Subtracting 210 from 240 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 11:
42 goes into 300 7 times with a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 12309.92857
If we take 294 away from 300, 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.

On to step 12:
60 divided by 42 is 1 with a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 12309.928571
If we take 42 away from 60, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 13:
42 goes into 180 4 times with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 12309.9285714
Subtract 168 from 180 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 14:
When dividing 120 by 42, we get 2 with a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 12309.92857142
If we take 84 away from 120, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

In conclusion, the division gives 12309.92857142 with a balance of 3.6e-08.