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

Advancing to step 1:
The number 42 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 42

On to step 2:
If we divide 58 by 42, we get 1 and a remainder of 16.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 42 from 58, we get 16.
Take the next digit (6) from the dividend and append it to 16, then repeat: 166 / 42

Step 3:
The number 42 fits into 166 3 times, leaving a remainder of 40.
The next digit of our result is 3. 
Result so far: 13.0
Subtract 126 from 166 to get 40.
Fetch the next digit (6) from the dividend, attach it to 40 and continue: 406 / 42

Moving on to step 4:
The number 42 fits into 406 9 times, leaving a remainder of 28.
Put 9 as the next digit of the answer. 
Result so far: 139.0
Subtracting 378 from 406 leaves us with 28.
Take the next digit (4) from the dividend and append it to 28, then repeat: 284 / 42

Step 5:
When dividing 284 by 42, we get 6 with a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 1396.0
If we subtract 252 from 284, we get 32.
Take the next digit (0) from the dividend and append it to 32, then repeat: 320 / 42

Going ahead to step 6:
The number 42 fits into 320 7 times, leaving a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 13967.0
Deduct 294 from 320 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 7:
The number 42 fits into 260 6 times, leaving a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 13967.6
If we subtract 252 from 260, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 8:
When dividing 80 by 42, we get 1 with a remainder of 38.
The number 1 becomes the next digit in our result. 
Result so far: 13967.61
If we subtract 42 from 80, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 9:
42 goes into 380 9 times with a remainder of 2.
The next digit of our result is 9. 
Result so far: 13967.619
If we subtract 378 from 380, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 10:
When dividing 20 by 42, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 13967.619
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 11:
42 can be fit into 200 4 times, resulting in a remainder of 32.
The next digit of our result is 4. 
Result so far: 13967.61904
Deduct 168 from 200 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 12:
42 can be fit into 320 7 times, resulting in a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 13967.619047
The remainder is 26 after subtracting 294 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 13:
260 divided by 42 is 6 with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 13967.6190476
Deduct 252 from 260 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 14:
42 goes into 80 1 times with a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 13967.61904761
If we take 42 away from 80, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

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