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

Going ahead to step 1:
The number 87 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 87

Moving on to step 2:
87 goes into 31 0 times with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Grab the next digit (0) from the dividend, add it to 31, then carry on: 310 / 87

Moving on to step 3:
If we divide 310 by 87, we get 3 and a remainder of 49.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtract 261 from 310 to get 49.
Take the next digit (8) from the dividend and append it to 49, then repeat: 498 / 87

Step 4:
498 divided by 87 is 5 with a remainder of 63.
The next digit of our result is 5. 
Result so far: 35.0
Subtracting 435 from 498 leaves us with 63.
Fetch the next digit (5) from the dividend, attach it to 63 and continue: 635 / 87

Going ahead to step 5:
If we divide 635 by 87, we get 7 and a remainder of 26.
Use 7 as the next digit of our solution. 
Result so far: 357.0
The remainder is 26 after subtracting 609 from 635.
Include the next digit (5) from the dividend after 26, then repeat: 265 / 87

Advancing to step 6:
265 divided by 87 is 3 with a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 3573.0
If we subtract 261 from 265, we get 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 87

Step 7:
87 can be fit into 41 0 times, resulting in a remainder of 41.
Use 0 as the next digit of our solution. 
Result so far: 35730.0
If we take 0 away from 41, we end up with 41.
Append the next digit (9) from the dividend to 41 and continue with: 419 / 87

Let's proceed to step 8:
87 goes into 419 4 times with a remainder of 71.
Write down 4 as next digit of the result. 
Result so far: 357304.0
The remainder is 71 after subtracting 348 from 419.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Advancing to step 9:
87 can be fit into 710 8 times, resulting in a remainder of 14.
The next digit of our result is 8. 
Result so far: 357304.8
If we subtract 696 from 710, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 10:
When dividing 140 by 87, we get 1 with a remainder of 53.
Record the quotient 1 as the next digit in the result. 
Result so far: 357304.81
Subtracting 87 from 140 leaves us with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Advancing to step 11:
530 divided by 87 is 6 with a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 357304.816
Subtracting 522 from 530 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 12:
When dividing 80 by 87, we get 0 with a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 357304.816
Deduct 0 from 80 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Advancing to step 13:
87 goes into 800 9 times with a remainder of 17.
Put 9 as the next digit of the answer. 
Result so far: 357304.81609
If we take 783 away from 800, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 14:
When dividing 170 by 87, we get 1 with a remainder of 83.
Record the quotient 1 as the next digit in the result. 
Result so far: 357304.816091
If we take 87 away from 170, we end up with 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

On to step 15:
830 divided by 87 is 9 with a remainder of 47.
Use 9 as the next digit of our solution. 
Result so far: 357304.8160919
Subtract 783 from 830 to get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

On to step 16:
When dividing 470 by 87, we get 5 with a remainder of 35.
The next digit of our result is 5. 
Result so far: 357304.81609195
Subtracting 435 from 470 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Our division results in 357304.81609195 with a remaining 3.5e-08.