We're dividing 1342839 by 504 
We're looking to find how many times 504 goes into 1342839.

Advancing to step 1:
The number 504 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 504

Going ahead to step 2:
504 goes into 13 0 times with a remainder of 13.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 13 to get 13.
Take the next digit (4) from the dividend and append it to 13, then repeat: 134 / 504

Advancing to step 3:
The number 504 fits into 134 0 times, leaving a remainder of 134.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 134, we end up with 134.
Take the next digit (2) from the dividend and append it to 134, then repeat: 1342 / 504

Let's proceed to step 4:
504 can be fit into 1342 2 times, resulting in a remainder of 334.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 1008 from 1342 leaves us with 334.
Grab the next digit (8) from the dividend, add it to 334, then carry on: 3348 / 504

Moving on to step 5:
The number 504 fits into 3348 6 times, leaving a remainder of 324.
Put 6 as the next digit of the answer. 
Result so far: 26.0
Subtract 3024 from 3348 to get 324.
Append the next digit (3) from the dividend to 324 and continue with: 3243 / 504

Let's proceed to step 6:
504 goes into 3243 6 times with a remainder of 219.
Use 6 as the next digit of our solution. 
Result so far: 266.0
If we take 3024 away from 3243, we end up with 219.
Fetch the next digit (9) from the dividend, attach it to 219 and continue: 2199 / 504

Going ahead to step 7:
504 goes into 2199 4 times with a remainder of 183.
Write down 4 as next digit of the result. 
Result so far: 2664.0
Subtracting 2016 from 2199 leaves us with 183.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1830, and continue the process.

On to step 8:
The number 504 fits into 1830 3 times, leaving a remainder of 318.
Write down 3 as next digit of the result. 
Result so far: 2664.3
If we take 1512 away from 1830, we end up with 318.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3180, and continue the process.

Let's proceed to step 9:
When dividing 3180 by 504, we get 6 with a remainder of 156.
Use 6 as the next digit of our solution. 
Result so far: 2664.36
If we subtract 3024 from 3180, we get 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Step 10:
1560 divided by 504 is 3 with a remainder of 48.
Use 3 as the next digit of our solution. 
Result so far: 2664.363
If we take 1512 away from 1560, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 11:
When dividing 480 by 504, we get 0 with a remainder of 480.
The number 0 becomes the next digit in our result. 
Result so far: 2664.363
If we subtract 0 from 480, we 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.

Step 12:
If we divide 4800 by 504, we get 9 and a remainder of 264.
Put 9 as the next digit of the answer. 
Result so far: 2664.36309
If we take 4536 away from 4800, we end up with 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Moving on to step 13:
504 can be fit into 2640 5 times, resulting in a remainder of 120.
Write down 5 as next digit of the result. 
Result so far: 2664.363095
Subtract 2520 from 2640 to get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Advancing to step 14:
504 goes into 1200 2 times with a remainder of 192.
Put 2 as the next digit of the answer. 
Result so far: 2664.3630952
Deduct 1008 from 1200 and we're left with 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Step 15:
The number 504 fits into 1920 3 times, leaving a remainder of 408.
The next digit of our result is 3. 
Result so far: 2664.36309523
If we take 1512 away from 1920, we end up with 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 result is 2664.36309523 with a remainder of 4.08e-07.