We look at the division of 31510596 by 87 
Let's see how many times 87 fits into 31510596.

On to step 1:
87 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 87

Advancing to step 2:
If we divide 31 by 87, we get 0 and a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Append the next digit (5) from the dividend to 31 and continue with: 315 / 87

Let's proceed to step 3:
If we divide 315 by 87, we get 3 and a remainder of 54.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we take 261 away from 315, we end up with 54.
Append the next digit (1) from the dividend to 54 and continue with: 541 / 87

Let's proceed to step 4:
87 goes into 541 6 times with a remainder of 19.
Record the quotient 6 as the next digit in the result. 
Result so far: 36.0
Subtracting 522 from 541 leaves us with 19.
Grab the next digit (0) from the dividend, add it to 19, then carry on: 190 / 87

Going ahead to step 5:
The number 87 fits into 190 2 times, leaving a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 362.0
Subtract 174 from 190 to get 16.
Append the next digit (5) from the dividend to 16 and continue with: 165 / 87

Going ahead to step 6:
87 can be fit into 165 1 times, resulting in a remainder of 78.
Put 1 as the next digit of the answer. 
Result so far: 3621.0
Subtract 87 from 165 to get 78.
Take the next digit (9) from the dividend and append it to 78, then repeat: 789 / 87

Moving on to step 7:
If we divide 789 by 87, we get 9 and a remainder of 6.
Use 9 as the next digit of our solution. 
Result so far: 36219.0
Subtract 783 from 789 to get 6.
Grab the next digit (6) from the dividend, add it to 6, then carry on: 66 / 87

Step 8:
66 divided by 87 is 0 with a remainder of 66.
The number 0 becomes the next digit in our result. 
Result so far: 362190.0
Deduct 0 from 66 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.

Going ahead to step 9:
The number 87 fits into 660 7 times, leaving a remainder of 51.
Record the quotient 7 as the next digit in the result. 
Result so far: 362190.7
If we subtract 609 from 660, we 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.

On to step 10:
87 goes into 510 5 times with a remainder of 75.
Write down 5 as next digit of the result. 
Result so far: 362190.75
If we take 435 away from 510, we end up 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.

Going ahead to step 11:
750 divided by 87 is 8 with a remainder of 54.
Record the quotient 8 as the next digit in the result. 
Result so far: 362190.758
Subtracting 696 from 750 leaves us with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Let's proceed to step 12:
540 divided by 87 is 6 with a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 362190.7586
If we subtract 522 from 540, 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.

On to step 13:
The number 87 fits into 180 2 times, leaving a remainder of 6.
The next digit of our result is 2. 
Result so far: 362190.75862
Subtract 174 from 180 to get 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 14:
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: 362190.75862
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 15:
When dividing 600 by 87, we get 6 with a remainder of 78.
The next digit of our result is 6. 
Result so far: 362190.7586206
If we subtract 522 from 600, we get 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 16:
780 divided by 87 is 8 with a remainder of 84.
Write down 8 as next digit of the result. 
Result so far: 362190.75862068
If we subtract 696 from 780, we 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 362190.75862068, and the remainder is 8.4e-08.