581398 divided by 42 
We want to divide 581398 by 42.

Going ahead to step 1:
If we divide 5 by 42, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 42

Step 2:
If we divide 58 by 42, we get 1 and a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 16 after subtracting 42 from 58.
Grab the next digit (1) from the dividend, add it to 16, then carry on: 161 / 42

Step 3:
42 goes into 161 3 times with a remainder of 35.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
Subtracting 126 from 161 leaves us with 35.
Bring next digit (3) of the dividend behind the 35 and repeat the process: 353 / 42

Going ahead to step 4:
42 can be fit into 353 8 times, resulting in a remainder of 17.
The next digit of our result is 8. 
Result so far: 138.0
Subtracting 336 from 353 leaves us with 17.
Fetch the next digit (9) from the dividend, attach it to 17 and continue: 179 / 42

On to step 5:
If we divide 179 by 42, we get 4 and a remainder of 11.
Write down 4 as next digit of the result. 
Result so far: 1384.0
If we subtract 168 from 179, we get 11.
Append the next digit (8) from the dividend to 11 and continue with: 118 / 42

Let's proceed to step 6:
If we divide 118 by 42, we get 2 and a remainder of 34.
Put 2 as the next digit of the answer. 
Result so far: 13842.0
The remainder is 34 after subtracting 84 from 118.
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 7:
The number 42 fits into 340 8 times, leaving a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 13842.8
The remainder is 4 after subtracting 336 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
When dividing 40 by 42, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 13842.8
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 9:
42 goes into 400 9 times with a remainder of 22.
Use 9 as the next digit of our solution. 
Result so far: 13842.809
Subtracting 378 from 400 leaves us 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.

Going ahead to step 10:
When dividing 220 by 42, we get 5 with a remainder of 10.
The next digit of our result is 5. 
Result so far: 13842.8095
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.

Let's proceed to step 11:
If we divide 100 by 42, we get 2 and a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 13842.80952
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.

Step 12:
The number 42 fits into 160 3 times, leaving a remainder of 34.
Put 3 as the next digit of the answer. 
Result so far: 13842.809523
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.

Advancing to step 13:
The number 42 fits into 340 8 times, leaving a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 13842.8095238
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.

Moving on to step 14:
When dividing 40 by 42, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 13842.8095238
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.

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