We look at the division of 518151 by 87 
Our goal is to divide 518151 by 87.

Going ahead to step 1:
87 goes into 5 0 times with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 87

On to step 2:
51 divided by 87 is 0 with a remainder of 51.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 51 to get 51.
Take the next digit (8) from the dividend and append it to 51, then repeat: 518 / 87

Advancing to step 3:
87 goes into 518 5 times with a remainder of 83.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Deduct 435 from 518 and we're left with 83.
Grab the next digit (1) from the dividend, add it to 83, then carry on: 831 / 87

Going ahead to step 4:
831 divided by 87 is 9 with a remainder of 48.
Write down 9 as next digit of the result. 
Result so far: 59.0
Deduct 783 from 831 and we're left with 48.
Grab the next digit (5) from the dividend, add it to 48, then carry on: 485 / 87

Moving on to step 5:
87 can be fit into 485 5 times, resulting in a remainder of 50.
Record the quotient 5 as the next digit in the result. 
Result so far: 595.0
Subtracting 435 from 485 leaves us with 50.
Append the next digit (1) from the dividend to 50 and continue with: 501 / 87

Step 6:
The number 87 fits into 501 5 times, leaving a remainder of 66.
Use 5 as the next digit of our solution. 
Result so far: 5955.0
Deduct 435 from 501 and we're left with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

On to step 7:
The number 87 fits into 660 7 times, leaving a remainder of 51.
The next digit of our result is 7. 
Result so far: 5955.7
Subtract 609 from 660 to get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Step 8:
87 can be fit into 510 5 times, resulting in a remainder of 75.
The number 5 becomes the next digit in our result. 
Result so far: 5955.75
Subtract 435 from 510 to 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.

On to step 9:
750 divided by 87 is 8 with a remainder of 54.
The next digit of our result is 8. 
Result so far: 5955.758
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.

Step 10:
87 goes into 540 6 times with a remainder of 18.
The next digit of our result is 6. 
Result so far: 5955.7586
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.

Advancing to step 11:
180 divided by 87 is 2 with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 5955.75862
Deduct 174 from 180 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 12:
If we divide 60 by 87, we get 0 and a remainder of 60.
Use 0 as the next digit of our solution. 
Result so far: 5955.75862
Subtract 0 from 60 to 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 13:
600 divided by 87 is 6 with a remainder of 78.
The next digit of our result is 6. 
Result so far: 5955.7586206
Subtracting 522 from 600 leaves us with 78.
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 14:
87 goes into 780 8 times with a remainder of 84.
The next digit of our result is 8. 
Result so far: 5955.75862068
Subtract 696 from 780 to get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

The quotient of the division is 5955.75862068, and the remainder is 8.4e-08.