31588112 ÷ 371 
We want to divide 31588112 by 371.

Step 1:
371 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 371

Let's proceed to step 2:
31 divided by 371 is 0 with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Append the next digit (5) from the dividend to 31 and continue with: 315 / 371

Let's proceed to step 3:
When dividing 315 by 371, we get 0 with a remainder of 315.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 315 leaves us with 315.
Grab the next digit (8) from the dividend, add it to 315, then carry on: 3158 / 371

Let's proceed to step 4:
371 goes into 3158 8 times with a remainder of 190.
The next digit of our result is 8. 
Result so far: 8.0
Subtract 2968 from 3158 to get 190.
Fetch the next digit (8) from the dividend, attach it to 190 and continue: 1908 / 371

Advancing to step 5:
371 can be fit into 1908 5 times, resulting in a remainder of 53.
Write down 5 as next digit of the result. 
Result so far: 85.0
The remainder is 53 after subtracting 1855 from 1908.
Include the next digit (1) from the dividend after 53, then repeat: 531 / 371

Let's proceed to step 6:
If we divide 531 by 371, we get 1 and a remainder of 160.
Use 1 as the next digit of our solution. 
Result so far: 851.0
Subtract 371 from 531 to get 160.
Append the next digit (1) from the dividend to 160 and continue with: 1601 / 371

Step 7:
1601 divided by 371 is 4 with a remainder of 117.
The number 4 becomes the next digit in our result. 
Result so far: 8514.0
Subtracting 1484 from 1601 leaves us with 117.
Append the next digit (2) from the dividend to 117 and continue with: 1172 / 371

Step 8:
If we divide 1172 by 371, we get 3 and a remainder of 59.
Put 3 as the next digit of the answer. 
Result so far: 85143.0
Deduct 1113 from 1172 and we're left with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Let's proceed to step 9:
590 divided by 371 is 1 with a remainder of 219.
Put 1 as the next digit of the answer. 
Result so far: 85143.1
The remainder is 219 after subtracting 371 from 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2190, and continue the process.

Let's proceed to step 10:
The number 371 fits into 2190 5 times, leaving a remainder of 335.
The next digit of our result is 5. 
Result so far: 85143.15
Deduct 1855 from 2190 and we're left with 335.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3350, and continue the process.

Moving on to step 11:
The number 371 fits into 3350 9 times, leaving a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 85143.159
If we take 3339 away from 3350, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 12:
371 goes into 110 0 times with a remainder of 110.
Use 0 as the next digit of our solution. 
Result so far: 85143.159
Subtract 0 from 110 to get 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Moving on to step 13:
1100 divided by 371 is 2 with a remainder of 358.
Record the quotient 2 as the next digit in the result. 
Result so far: 85143.15902
Subtracting 742 from 1100 leaves us with 358.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3580, and continue the process.

Moving on to step 14:
371 can be fit into 3580 9 times, resulting in a remainder of 241.
The next digit of our result is 9. 
Result so far: 85143.159029
Deduct 3339 from 3580 and we're left with 241.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2410, and continue the process.

Step 15:
371 can be fit into 2410 6 times, resulting in a remainder of 184.
Record the quotient 6 as the next digit in the result. 
Result so far: 85143.1590296
Deduct 2226 from 2410 and we're left with 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

On to step 16:
The number 371 fits into 1840 4 times, leaving a remainder of 356.
Record the quotient 4 as the next digit in the result. 
Result so far: 85143.15902964
If we subtract 1484 from 1840, we get 356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

Our division results in 85143.15902964 with a remaining 3.56e-07.