42867147 divided by 504 
Let's see how many times 504 fits into 42867147.

Going ahead to step 1:
504 can be fit into 4 0 times, resulting in a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 504

Going ahead to step 2:
504 goes into 42 0 times with a remainder of 42.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 42 after subtracting 0 from 42.
Append the next digit (8) from the dividend to 42 and continue with: 428 / 504

On to step 3:
504 can be fit into 428 0 times, resulting in a remainder of 428.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 428, we end up with 428.
Fetch the next digit (6) from the dividend, attach it to 428 and continue: 4286 / 504

Step 4:
When dividing 4286 by 504, we get 8 with a remainder of 254.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtract 4032 from 4286 to get 254.
Append the next digit (7) from the dividend to 254 and continue with: 2547 / 504

Step 5:
504 can be fit into 2547 5 times, resulting in a remainder of 27.
Write down 5 as next digit of the result. 
Result so far: 85.0
Deduct 2520 from 2547 and we're left with 27.
Fetch the next digit (1) from the dividend, attach it to 27 and continue: 271 / 504

On to step 6:
When dividing 271 by 504, we get 0 with a remainder of 271.
Put 0 as the next digit of the answer. 
Result so far: 850.0
Subtracting 0 from 271 leaves us with 271.
Take the next digit (4) from the dividend and append it to 271, then repeat: 2714 / 504

Step 7:
2714 divided by 504 is 5 with a remainder of 194.
The number 5 becomes the next digit in our result. 
Result so far: 8505.0
Subtract 2520 from 2714 to get 194.
Append the next digit (7) from the dividend to 194 and continue with: 1947 / 504

Moving on to step 8:
504 goes into 1947 3 times with a remainder of 435.
Record the quotient 3 as the next digit in the result. 
Result so far: 85053.0
Subtract 1512 from 1947 to get 435.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4350, and continue the process.

Advancing to step 9:
When dividing 4350 by 504, we get 8 with a remainder of 318.
Put 8 as the next digit of the answer. 
Result so far: 85053.8
The remainder is 318 after subtracting 4032 from 4350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3180, and continue the process.

Advancing to step 10:
The number 504 fits into 3180 6 times, leaving a remainder of 156.
The next digit of our result is 6. 
Result so far: 85053.86
If we take 3024 away from 3180, we end up with 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Moving on to step 11:
504 can be fit into 1560 3 times, resulting in a remainder of 48.
The number 3 becomes the next digit in our result. 
Result so far: 85053.863
The remainder is 48 after subtracting 1512 from 1560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Let's proceed to step 12:
480 divided by 504 is 0 with a remainder of 480.
The number 0 becomes the next digit in our result. 
Result so far: 85053.863
Subtract 0 from 480 to get 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Let's proceed to step 13:
When dividing 4800 by 504, we get 9 with a remainder of 264.
Write down 9 as next digit of the result. 
Result so far: 85053.86309
Subtract 4536 from 4800 to get 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

On to step 14:
504 goes into 2640 5 times with a remainder of 120.
The number 5 becomes the next digit in our result. 
Result so far: 85053.863095
Subtracting 2520 from 2640 leaves us with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Let's proceed to step 15:
504 can be fit into 1200 2 times, resulting in a remainder of 192.
Use 2 as the next digit of our solution. 
Result so far: 85053.8630952
The remainder is 192 after subtracting 1008 from 1200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Advancing to step 16:
If we divide 1920 by 504, we get 3 and a remainder of 408.
Use 3 as the next digit of our solution. 
Result so far: 85053.86309523
Subtract 1512 from 1920 to get 408.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4080, and continue the process.

The final outcome is 85053.86309523, with a leftover of 4.08e-07.