We divide 402504 by 42
We're looking to find how many times 42 goes into 402504.

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
The remainder is 4 after subtracting 0 from 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 42

On to step 2:
42 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Include the next digit (2) from the dividend after 40, then repeat: 402 / 42

Going ahead to step 3:
If we divide 402 by 42, we get 9 and a remainder of 24.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtract 378 from 402 to get 24.
Append the next digit (5) from the dividend to 24 and continue with: 245 / 42

Step 4:
When dividing 245 by 42, we get 5 with a remainder of 35.
The next digit of our result is 5. 
Result so far: 95.0
Subtract 210 from 245 to get 35.
Append the next digit (0) from the dividend to 35 and continue with: 350 / 42

On to step 5:
42 can be fit into 350 8 times, resulting in a remainder of 14.
The next digit of our result is 8. 
Result so far: 958.0
If we subtract 336 from 350, we get 14.
Fetch the next digit (4) from the dividend, attach it to 14 and continue: 144 / 42

Moving on to step 6:
42 goes into 144 3 times with a remainder of 18.
The next digit of our result is 3. 
Result so far: 9583.0
If we subtract 126 from 144, 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 7:
If we divide 180 by 42, we get 4 and a remainder of 12.
The next digit of our result is 4. 
Result so far: 9583.4
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.

Going ahead to step 8:
If we divide 120 by 42, we get 2 and a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 9583.42
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.

Step 9:
42 can be fit into 360 8 times, resulting in a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 9583.428
Subtracting 336 from 360 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 10:
The number 42 fits into 240 5 times, leaving a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 9583.4285
If we take 210 away from 240, we end up 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.

Let's proceed to step 11:
If we divide 300 by 42, we get 7 and a remainder of 6.
The next digit of our result is 7. 
Result so far: 9583.42857
Subtract 294 from 300 to get 6.
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 12:
If we divide 60 by 42, we get 1 and a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 9583.428571
Subtract 42 from 60 to 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.

Step 13:
42 goes into 180 4 times with a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 9583.4285714
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.

Moving on to step 14:
If we divide 120 by 42, we get 2 and a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 9583.42857142
Subtract 84 from 120 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

The final outcome is 9583.42857142, with a leftover of 3.6e-08.