Let's divide 504361 by 87
We want to divide 504361 by 87.

Advancing to step 1:
87 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 87

Let's proceed to step 2:
87 goes into 50 0 times with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Append the next digit (4) from the dividend to 50 and continue with: 504 / 87

Advancing to step 3:
The number 87 fits into 504 5 times, leaving a remainder of 69.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we subtract 435 from 504, we get 69.
Grab the next digit (3) from the dividend, add it to 69, then carry on: 693 / 87

Let's proceed to step 4:
The number 87 fits into 693 7 times, leaving a remainder of 84.
The next digit of our result is 7. 
Result so far: 57.0
Deduct 609 from 693 and we're left with 84.
Take the next digit (6) from the dividend and append it to 84, then repeat: 846 / 87

Going ahead to step 5:
87 can be fit into 846 9 times, resulting in a remainder of 63.
Put 9 as the next digit of the answer. 
Result so far: 579.0
The remainder is 63 after subtracting 783 from 846.
Append the next digit (1) from the dividend to 63 and continue with: 631 / 87

Going ahead to step 6:
631 divided by 87 is 7 with a remainder of 22.
The next digit of our result is 7. 
Result so far: 5797.0
If we take 609 away from 631, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 7:
87 goes into 220 2 times with a remainder of 46.
Record the quotient 2 as the next digit in the result. 
Result so far: 5797.2
Subtracting 174 from 220 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Moving on to step 8:
If we divide 460 by 87, we get 5 and a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 5797.25
Deduct 435 from 460 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 9:
The number 87 fits into 250 2 times, leaving a remainder of 76.
Write down 2 as next digit of the result. 
Result so far: 5797.252
Deduct 174 from 250 and we're left with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Going ahead to step 10:
87 goes into 760 8 times with a remainder of 64.
Write down 8 as next digit of the result. 
Result so far: 5797.2528
Deduct 696 from 760 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 11:
87 can be fit into 640 7 times, resulting in a remainder of 31.
Put 7 as the next digit of the answer. 
Result so far: 5797.25287
Deduct 609 from 640 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 12:
If we divide 310 by 87, we get 3 and a remainder of 49.
Record the quotient 3 as the next digit in the result. 
Result so far: 5797.252873
Deduct 261 from 310 and we're left with 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Step 13:
490 divided by 87 is 5 with a remainder of 55.
Record the quotient 5 as the next digit in the result. 
Result so far: 5797.2528735
If we subtract 435 from 490, we get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Let's proceed to step 14:
87 goes into 550 6 times with a remainder of 28.
The number 6 becomes the next digit in our result. 
Result so far: 5797.25287356
If we take 522 away from 550, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Our division results in 5797.25287356 with a remaining 2.8e-08.