Let's divide 31871487 by 311
We're looking to find how many times 311 goes into 31871487.

Going ahead to step 1:
When dividing 3 by 311, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 311

Going ahead to step 2:
When dividing 31 by 311, we get 0 with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Bring next digit (8) of the dividend behind the 31 and repeat the process: 318 / 311

Step 3:
The number 311 fits into 318 1 times, leaving a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 311 from 318 to get 7.
Grab the next digit (7) from the dividend, add it to 7, then carry on: 77 / 311

Let's proceed to step 4:
311 goes into 77 0 times with a remainder of 77.
Write down 0 as next digit of the result. 
Result so far: 10.0
If we subtract 0 from 77, we get 77.
Include the next digit (1) from the dividend after 77, then repeat: 771 / 311

Step 5:
311 goes into 771 2 times with a remainder of 149.
Record the quotient 2 as the next digit in the result. 
Result so far: 102.0
If we take 622 away from 771, we end up with 149.
Include the next digit (4) from the dividend after 149, then repeat: 1494 / 311

Let's proceed to step 6:
The number 311 fits into 1494 4 times, leaving a remainder of 250.
The next digit of our result is 4. 
Result so far: 1024.0
If we subtract 1244 from 1494, we get 250.
Take the next digit (8) from the dividend and append it to 250, then repeat: 2508 / 311

Let's proceed to step 7:
2508 divided by 311 is 8 with a remainder of 20.
The number 8 becomes the next digit in our result. 
Result so far: 10248.0
If we take 2488 away from 2508, we end up with 20.
Bring next digit (7) of the dividend behind the 20 and repeat the process: 207 / 311

Step 8:
207 divided by 311 is 0 with a remainder of 207.
Write down 0 as next digit of the result. 
Result so far: 102480.0
If we take 0 away from 207, we end up with 207.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2070, and continue the process.

Going ahead to step 9:
311 goes into 2070 6 times with a remainder of 204.
Record the quotient 6 as the next digit in the result. 
Result so far: 102480.6
The remainder is 204 after subtracting 1866 from 2070.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Step 10:
When dividing 2040 by 311, we get 6 with a remainder of 174.
The number 6 becomes the next digit in our result. 
Result so far: 102480.66
If we subtract 1866 from 2040, we get 174.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1740, and continue the process.

In conclusion, the division gives 102480.66 with a balance of 0.174.