We divide 507198 by 87
Our goal is to divide 507198 by 87.

Advancing to step 1:
If we divide 5 by 87, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
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

Step 2:
87 goes into 50 0 times with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 50 after subtracting 0 from 50.
Append the next digit (7) from the dividend to 50 and continue with: 507 / 87

Going ahead to step 3:
87 can be fit into 507 5 times, resulting in a remainder of 72.
The next digit of our result is 5. 
Result so far: 5.0
Subtracting 435 from 507 leaves us with 72.
Grab the next digit (1) from the dividend, add it to 72, then carry on: 721 / 87

On to step 4:
When dividing 721 by 87, we get 8 with a remainder of 25.
Record the quotient 8 as the next digit in the result. 
Result so far: 58.0
If we subtract 696 from 721, we get 25.
Bring next digit (9) of the dividend behind the 25 and repeat the process: 259 / 87

Advancing to step 5:
259 divided by 87 is 2 with a remainder of 85.
Write down 2 as next digit of the result. 
Result so far: 582.0
If we take 174 away from 259, we end up with 85.
Grab the next digit (8) from the dividend, add it to 85, then carry on: 858 / 87

Going ahead to step 6:
If we divide 858 by 87, we get 9 and a remainder of 75.
The next digit of our result is 9. 
Result so far: 5829.0
If we subtract 783 from 858, we get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Let's proceed to step 7:
The number 87 fits into 750 8 times, leaving a remainder of 54.
Record the quotient 8 as the next digit in the result. 
Result so far: 5829.8
If we subtract 696 from 750, we get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

On to step 8:
540 divided by 87 is 6 with a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 5829.86
Subtracting 522 from 540 leaves us with 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 9:
180 divided by 87 is 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 5829.862
The remainder is 6 after subtracting 174 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 10:
The number 87 fits into 60 0 times, leaving a remainder of 60.
The next digit of our result is 0. 
Result so far: 5829.862
If we subtract 0 from 60, we get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Advancing to step 11:
The number 87 fits into 600 6 times, leaving a remainder of 78.
Record the quotient 6 as the next digit in the result. 
Result so far: 5829.86206
The remainder is 78 after subtracting 522 from 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Let's proceed to step 12:
When dividing 780 by 87, we get 8 with a remainder of 84.
Write down 8 as next digit of the result. 
Result so far: 5829.862068
If we take 696 away from 780, we end up with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

On to step 13:
The number 87 fits into 840 9 times, leaving a remainder of 57.
Write down 9 as next digit of the result. 
Result so far: 5829.8620689
The remainder is 57 after subtracting 783 from 840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Step 14:
If we divide 570 by 87, we get 6 and a remainder of 48.
The number 6 becomes the next digit in our result. 
Result so far: 5829.86206896
Subtracting 522 from 570 leaves us 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.

The final outcome is 5829.86206896, with a leftover of 4.8e-08.