311507 ÷ 87 
We want to figure out the number of times 311507 can be divided by 87.

Step 1:
3 divided by 87 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 87

Moving on to step 2:
87 goes into 31 0 times with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Include the next digit (1) from the dividend after 31, then repeat: 311 / 87

Going ahead to step 3:
87 goes into 311 3 times with a remainder of 50.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
The remainder is 50 after subtracting 261 from 311.
Bring next digit (5) of the dividend behind the 50 and repeat the process: 505 / 87

On to step 4:
87 goes into 505 5 times with a remainder of 70.
The next digit of our result is 5. 
Result so far: 35.0
Subtract 435 from 505 to get 70.
Take the next digit (0) from the dividend and append it to 70, then repeat: 700 / 87

Step 5:
87 can be fit into 700 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 358.0
If we subtract 696 from 700, we get 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 87

Advancing to step 6:
87 goes into 47 0 times with a remainder of 47.
The next digit of our result is 0. 
Result so far: 3580.0
Subtract 0 from 47 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.

Going ahead to step 7:
470 divided by 87 is 5 with a remainder of 35.
The number 5 becomes the next digit in our result. 
Result so far: 3580.5
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.

Going ahead to step 8:
87 goes into 350 4 times with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 3580.54
Subtract 348 from 350 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 9:
If we divide 20 by 87, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 3580.54
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 10:
The number 87 fits into 200 2 times, leaving a remainder of 26.
Put 2 as the next digit of the answer. 
Result so far: 3580.5402
Subtract 174 from 200 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 11:
87 goes into 260 2 times with a remainder of 86.
Write down 2 as next digit of the result. 
Result so far: 3580.54022
Deduct 174 from 260 and we're left with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

The final result is 3580.54022 with a remainder of 8.6e-05.