371276 divided by 31 
Let's see how many times 31 fits into 371276.

Advancing to step 1:
The number 31 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 31

Advancing to step 2:
When dividing 37 by 31, we get 1 with a remainder of 6.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 31 away from 37, we end up with 6.
Append the next digit (1) from the dividend to 6 and continue with: 61 / 31

Going ahead to step 3:
If we divide 61 by 31, we get 1 and a remainder of 30.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
Deduct 31 from 61 and we're left with 30.
Grab the next digit (2) from the dividend, add it to 30, then carry on: 302 / 31

Step 4:
The number 31 fits into 302 9 times, leaving a remainder of 23.
Record the quotient 9 as the next digit in the result. 
Result so far: 119.0
Subtracting 279 from 302 leaves us with 23.
Take the next digit (7) from the dividend and append it to 23, then repeat: 237 / 31

On to step 5:
31 can be fit into 237 7 times, resulting in a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 1197.0
Subtracting 217 from 237 leaves us with 20.
Append the next digit (6) from the dividend to 20 and continue with: 206 / 31

Moving on to step 6:
206 divided by 31 is 6 with a remainder of 20.
Use 6 as the next digit of our solution. 
Result so far: 11976.0
The remainder is 20 after subtracting 186 from 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 7:
The number 31 fits into 200 6 times, leaving a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 11976.6
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 8:
31 can be fit into 140 4 times, resulting in a remainder of 16.
The next digit of our result is 4. 
Result so far: 11976.64
Deduct 124 from 140 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 9:
When dividing 160 by 31, we get 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 11976.645
The remainder is 5 after subtracting 155 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 10:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 11976.6451
Subtracting 31 from 50 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 11:
190 divided by 31 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 11976.64516
Subtracting 186 from 190 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 12:
If we divide 40 by 31, we get 1 and a remainder of 9.
The next digit of our result is 1. 
Result so far: 11976.645161
The remainder is 9 after subtracting 31 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 13:
If we divide 90 by 31, we get 2 and a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 11976.6451612
Deduct 62 from 90 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 14:
31 goes into 280 9 times with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 11976.64516129
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

After the division, we end up with 11976.64516129 and a remainder of 1e-09.