517147 ÷ 42 
Our goal is to divide 517147 by 42.

Step 1:
If we divide 5 by 42, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 42

Going ahead to step 2:
51 divided by 42 is 1 with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 42 from 51 leaves us with 9.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 42

Going ahead to step 3:
The number 42 fits into 97 2 times, leaving a remainder of 13.
The next digit of our result is 2. 
Result so far: 12.0
The remainder is 13 after subtracting 84 from 97.
Take the next digit (1) from the dividend and append it to 13, then repeat: 131 / 42

Let's proceed to step 4:
42 can be fit into 131 3 times, resulting in a remainder of 5.
The next digit of our result is 3. 
Result so far: 123.0
If we subtract 126 from 131, we get 5.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 42

Let's proceed to step 5:
42 can be fit into 54 1 times, resulting in a remainder of 12.
Put 1 as the next digit of the answer. 
Result so far: 1231.0
If we subtract 42 from 54, we get 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 42

On to step 6:
If we divide 127 by 42, we get 3 and a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 12313.0
If we subtract 126 from 127, we 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.

Let's proceed to step 7:
42 can be fit into 10 0 times, resulting in a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 12313.0
Deduct 0 from 10 and we're left 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.

On to step 8:
If we divide 100 by 42, we get 2 and a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 12313.02
The remainder is 16 after subtracting 84 from 100.
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 9:
160 divided by 42 is 3 with a remainder of 34.
Record the quotient 3 as the next digit in the result. 
Result so far: 12313.023
The remainder is 34 after subtracting 126 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 10:
340 divided by 42 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 12313.0238
If we subtract 336 from 340, 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 11:
42 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 12313.0238
Subtracting 0 from 40 leaves us 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 12:
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: 12313.023809
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.

Advancing to step 13:
220 divided by 42 is 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 12313.0238095
The remainder is 10 after subtracting 210 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 14:
100 divided by 42 is 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 12313.02380952
If we take 84 away from 100, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

In conclusion, the division gives 12313.02380952 with a balance of 1.6e-08.