We divide 512331 by 87
We're looking to find how many times 87 goes into 512331.

Advancing to step 1:
If we divide 5 by 87, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 87

Advancing to step 2:
87 can be fit into 51 0 times, resulting in a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 51 leaves us with 51.
Append the next digit (2) from the dividend to 51 and continue with: 512 / 87

Step 3:
The number 87 fits into 512 5 times, leaving a remainder of 77.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we subtract 435 from 512, we get 77.
Bring next digit (3) of the dividend behind the 77 and repeat the process: 773 / 87

Moving on to step 4:
If we divide 773 by 87, we get 8 and a remainder of 77.
Put 8 as the next digit of the answer. 
Result so far: 58.0
The remainder is 77 after subtracting 696 from 773.
Fetch the next digit (3) from the dividend, attach it to 77 and continue: 773 / 87

On to step 5:
87 goes into 773 8 times with a remainder of 77.
The next digit of our result is 8. 
Result so far: 588.0
Deduct 696 from 773 and we're left with 77.
Bring next digit (1) of the dividend behind the 77 and repeat the process: 771 / 87

Step 6:
The number 87 fits into 771 8 times, leaving a remainder of 75.
Record the quotient 8 as the next digit in the result. 
Result so far: 5888.0
Deduct 696 from 771 and we're left with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Advancing to step 7:
87 goes into 750 8 times with a remainder of 54.
Put 8 as the next digit of the answer. 
Result so far: 5888.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.

Going ahead to step 8:
540 divided by 87 is 6 with a remainder of 18.
The number 6 becomes the next digit in our result. 
Result so far: 5888.86
Deduct 522 from 540 and we're left 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 9:
180 divided by 87 is 2 with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 5888.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.

Step 10:
60 divided by 87 is 0 with a remainder of 60.
Record the quotient 0 as the next digit in the result. 
Result so far: 5888.862
Deduct 0 from 60 and we're left with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Going ahead to step 11:
87 goes into 600 6 times with a remainder of 78.
Put 6 as the next digit of the answer. 
Result so far: 5888.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:
87 goes into 780 8 times with a remainder of 84.
The number 8 becomes the next digit in our result. 
Result so far: 5888.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:
When dividing 840 by 87, we get 9 with a remainder of 57.
Use 9 as the next digit of our solution. 
Result so far: 5888.8620689
If we subtract 783 from 840, we get 57.
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:
When dividing 570 by 87, we get 6 with a remainder of 48.
Put 6 as the next digit of the answer. 
Result so far: 5888.86206896
The remainder is 48 after subtracting 522 from 570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Our division results in 5888.86206896 with a remaining 4.8e-08.