Let's divide 513231 by 87
Our goal is to divide 513231 by 87.

On to step 1:
If we divide 5 by 87, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 87

Step 2:
The number 87 fits into 51 0 times, leaving a remainder of 51.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Include the next digit (3) from the dividend after 51, then repeat: 513 / 87

Step 3:
When dividing 513 by 87, we get 5 with a remainder of 78.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtract 435 from 513 to get 78.
Bring next digit (2) of the dividend behind the 78 and repeat the process: 782 / 87

Let's proceed to step 4:
87 goes into 782 8 times with a remainder of 86.
Write down 8 as next digit of the result. 
Result so far: 58.0
If we subtract 696 from 782, we get 86.
Fetch the next digit (3) from the dividend, attach it to 86 and continue: 863 / 87

On to step 5:
If we divide 863 by 87, we get 9 and a remainder of 80.
Record the quotient 9 as the next digit in the result. 
Result so far: 589.0
The remainder is 80 after subtracting 783 from 863.
Take the next digit (1) from the dividend and append it to 80, then repeat: 801 / 87

Moving on to step 6:
If we divide 801 by 87, we get 9 and a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 5899.0
If we subtract 783 from 801, we get 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 7:
180 divided by 87 is 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 5899.2
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.

Moving on to step 8:
If we divide 60 by 87, we get 0 and a remainder of 60.
Write down 0 as next digit of the result. 
Result so far: 5899.2
The remainder is 60 after subtracting 0 from 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 9:
If we divide 600 by 87, we get 6 and a remainder of 78.
The next digit of our result is 6. 
Result so far: 5899.206
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.

On to step 10:
87 goes into 780 8 times with a remainder of 84.
The next digit of our result is 8. 
Result so far: 5899.2068
Subtracting 696 from 780 leaves us 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.

Let's proceed to step 11:
The number 87 fits into 840 9 times, leaving a remainder of 57.
Use 9 as the next digit of our solution. 
Result so far: 5899.20689
Deduct 783 from 840 and we're left with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Let's proceed to step 12:
The number 87 fits into 570 6 times, leaving a remainder of 48.
Write down 6 as next digit of the result. 
Result so far: 5899.206896
If we take 522 away from 570, we end up 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.

On to step 13:
87 can be fit into 480 5 times, resulting in a remainder of 45.
Record the quotient 5 as the next digit in the result. 
Result so far: 5899.2068965
The remainder is 45 after subtracting 435 from 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Advancing to step 14:
87 goes into 450 5 times with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 5899.20689655
If we take 435 away from 450, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The quotient of the division is 5899.20689655, and the remainder is 1.5e-08.