We look at the division of 506297 by 87 
We want to figure out the number of times 506297 can be divided by 87.

Going ahead to step 1:
The number 87 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 87

Moving on to step 2:
87 can be fit into 50 0 times, resulting in a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 50 after subtracting 0 from 50.
Bring next digit (6) of the dividend behind the 50 and repeat the process: 506 / 87

Going ahead to step 3:
If we divide 506 by 87, we get 5 and a remainder of 71.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtract 435 from 506 to get 71.
Fetch the next digit (2) from the dividend, attach it to 71 and continue: 712 / 87

Moving on to step 4:
712 divided by 87 is 8 with a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 58.0
Deduct 696 from 712 and we're left with 16.
Append the next digit (9) from the dividend to 16 and continue with: 169 / 87

Step 5:
When dividing 169 by 87, we get 1 with a remainder of 82.
Write down 1 as next digit of the result. 
Result so far: 581.0
If we take 87 away from 169, we end up with 82.
Append the next digit (7) from the dividend to 82 and continue with: 827 / 87

Going ahead to step 6:
827 divided by 87 is 9 with a remainder of 44.
The next digit of our result is 9. 
Result so far: 5819.0
If we take 783 away from 827, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 7:
The number 87 fits into 440 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 5819.5
If we take 435 away from 440, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 8:
When dividing 50 by 87, we get 0 with a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 5819.5
The remainder is 50 after subtracting 0 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 9:
When dividing 500 by 87, we get 5 with a remainder of 65.
The next digit of our result is 5. 
Result so far: 5819.505
If we subtract 435 from 500, we get 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Step 10:
If we divide 650 by 87, we get 7 and a remainder of 41.
The number 7 becomes the next digit in our result. 
Result so far: 5819.5057
If we take 609 away from 650, we end up with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Advancing to step 11:
If we divide 410 by 87, we get 4 and a remainder of 62.
Record the quotient 4 as the next digit in the result. 
Result so far: 5819.50574
Subtracting 348 from 410 leaves us with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Step 12:
87 can be fit into 620 7 times, resulting in a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 5819.505747
If we take 609 away from 620, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 13:
When dividing 110 by 87, we get 1 with a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 5819.5057471
If we subtract 87 from 110, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 14:
When dividing 230 by 87, we get 2 with a remainder of 56.
The number 2 becomes the next digit in our result. 
Result so far: 5819.50574712
The remainder is 56 after subtracting 174 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

The final result is 5819.50574712 with a remainder of 5.6e-08.