477987 ÷ 42 
We want to figure out the number of times 477987 can be divided by 42.

Advancing to step 1:
If we divide 4 by 42, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 42

On to step 2:
If we divide 47 by 42, we get 1 and a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 42 from 47 to get 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 42

Step 3:
42 goes into 57 1 times with a remainder of 15.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Deduct 42 from 57 and we're left with 15.
Append the next digit (9) from the dividend to 15 and continue with: 159 / 42

Let's proceed to step 4:
The number 42 fits into 159 3 times, leaving a remainder of 33.
The number 3 becomes the next digit in our result. 
Result so far: 113.0
Deduct 126 from 159 and we're left with 33.
Fetch the next digit (8) from the dividend, attach it to 33 and continue: 338 / 42

Step 5:
338 divided by 42 is 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 1138.0
Deduct 336 from 338 and we're left with 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 42

Let's proceed to step 6:
42 goes into 27 0 times with a remainder of 27.
The next digit of our result is 0. 
Result so far: 11380.0
Deduct 0 from 27 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 7:
42 can be fit into 270 6 times, resulting in a remainder of 18.
Put 6 as the next digit of the answer. 
Result so far: 11380.6
If we subtract 252 from 270, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 8:
180 divided by 42 is 4 with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 11380.64
If we subtract 168 from 180, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
42 goes into 120 2 times with a remainder of 36.
The next digit of our result is 2. 
Result so far: 11380.642
If we take 84 away from 120, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 10:
42 can be fit into 360 8 times, resulting in a remainder of 24.
Record the quotient 8 as the next digit in the result. 
Result so far: 11380.6428
Subtract 336 from 360 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 11:
If we divide 240 by 42, we get 5 and a remainder of 30.
Write down 5 as next digit of the result. 
Result so far: 11380.64285
Subtracting 210 from 240 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 12:
300 divided by 42 is 7 with a remainder of 6.
The next digit of our result is 7. 
Result so far: 11380.642857
The remainder is 6 after subtracting 294 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
42 goes into 60 1 times with a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 11380.6428571
If we subtract 42 from 60, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 14:
42 goes into 180 4 times with a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 11380.64285714
The remainder is 12 after subtracting 168 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Our division results in 11380.64285714 with a remaining 1.2e-08.