We divide 521158 by 42
We want to divide 521158 by 42.

On to step 1:
If we divide 5 by 42, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (2) from the dividend, attach it to 5 and continue: 52 / 42

Step 2:
52 divided by 42 is 1 with a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 42 from 52, we get 10.
Include the next digit (1) from the dividend after 10, then repeat: 101 / 42

On to step 3:
42 can be fit into 101 2 times, resulting in a remainder of 17.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
The remainder is 17 after subtracting 84 from 101.
Append the next digit (1) from the dividend to 17 and continue with: 171 / 42

Going ahead to step 4:
42 goes into 171 4 times with a remainder of 3.
The next digit of our result is 4. 
Result so far: 124.0
Deduct 168 from 171 and we're left with 3.
Bring next digit (5) of the dividend behind the 3 and repeat the process: 35 / 42

On to step 5:
42 can be fit into 35 0 times, resulting in a remainder of 35.
The next digit of our result is 0. 
Result so far: 1240.0
If we take 0 away from 35, we end up with 35.
Include the next digit (8) from the dividend after 35, then repeat: 358 / 42

Moving on to step 6:
42 can be fit into 358 8 times, resulting in a remainder of 22.
The next digit of our result is 8. 
Result so far: 12408.0
If we take 336 away from 358, we end up 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.

Moving on to step 7:
220 divided by 42 is 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 12408.5
Deduct 210 from 220 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.

Step 8:
When dividing 100 by 42, we get 2 with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 12408.52
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.

Advancing to step 9:
160 divided by 42 is 3 with a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 12408.523
If we take 126 away from 160, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 10:
When dividing 340 by 42, we get 8 with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 12408.5238
If we take 336 away from 340, we end up 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.

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: 12408.5238
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.

Step 12:
42 goes into 400 9 times with a remainder of 22.
The number 9 becomes the next digit in our result. 
Result so far: 12408.523809
If we subtract 378 from 400, we 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.

Moving on to step 13:
42 goes into 220 5 times with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 12408.5238095
Subtracting 210 from 220 leaves us 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.

Moving on to step 14:
The number 42 fits into 100 2 times, leaving a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 12408.52380952
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.

After the division, we end up with 12408.52380952 and a remainder of 1.6e-08.