We're dividing 517024 by 42 
We want to divide 517024 by 42.

Step 1:
If we divide 5 by 42, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 42

Let's proceed to step 2:
The number 42 fits into 51 1 times, leaving a remainder of 9.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 42 from 51 leaves us with 9.
Include the next digit (7) from the dividend after 9, then repeat: 97 / 42

Moving on to step 3:
42 can be fit into 97 2 times, resulting in a remainder of 13.
Put 2 as the next digit of the answer. 
Result so far: 12.0
The remainder is 13 after subtracting 84 from 97.
Take the next digit (0) from the dividend and append it to 13, then repeat: 130 / 42

On to step 4:
42 goes into 130 3 times with a remainder of 4.
Record the quotient 3 as the next digit in the result. 
Result so far: 123.0
Subtracting 126 from 130 leaves us with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 42

Step 5:
The number 42 fits into 42 1 times, leaving a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1231.0
If we subtract 42 from 42, we get 0.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 42

On to step 6:
If we divide 4 by 42, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 12310.0
If we subtract 0 from 4, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
The number 42 fits into 40 0 times, leaving a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 12310.0
If we take 0 away from 40, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 8:
When dividing 400 by 42, we get 9 with a remainder of 22.
Use 9 as the next digit of our solution. 
Result so far: 12310.09
Subtract 378 from 400 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 9:
The number 42 fits into 220 5 times, leaving a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 12310.095
If we take 210 away from 220, we end up with 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 10:
When dividing 100 by 42, we get 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 12310.0952
If we subtract 84 from 100, 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.

Moving on to step 11:
When dividing 160 by 42, we get 3 with a remainder of 34.
The number 3 becomes the next digit in our result. 
Result so far: 12310.09523
If we subtract 126 from 160, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 12:
340 divided by 42 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 12310.095238
Subtract 336 from 340 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 13:
If we divide 40 by 42, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 12310.095238
The remainder is 40 after subtracting 0 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 14:
42 can be fit into 400 9 times, resulting in a remainder of 22.
The next digit of our result is 9. 
Result so far: 12310.09523809
Deduct 378 from 400 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Our division results in 12310.09523809 with a remaining 2.2e-08.