We divide 37801340 by 31
We're looking to find how many times 31 goes into 37801340.

Let's proceed to step 1:
The number 31 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
If we take 0 away from 3, we end up with 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 31

Step 2:
The number 31 fits into 37 1 times, leaving a remainder of 6.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 31 from 37 and we're left with 6.
Append the next digit (8) from the dividend to 6 and continue with: 68 / 31

Advancing to step 3:
31 goes into 68 2 times with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
If we take 62 away from 68, we end up with 6.
Fetch the next digit (0) from the dividend, attach it to 6 and continue: 60 / 31

Let's proceed to step 4:
The number 31 fits into 60 1 times, leaving a remainder of 29.
Write down 1 as next digit of the result. 
Result so far: 121.0
The remainder is 29 after subtracting 31 from 60.
Bring next digit (1) of the dividend behind the 29 and repeat the process: 291 / 31

Let's proceed to step 5:
When dividing 291 by 31, we get 9 with a remainder of 12.
Record the quotient 9 as the next digit in the result. 
Result so far: 1219.0
Subtracting 279 from 291 leaves us with 12.
Grab the next digit (3) from the dividend, add it to 12, then carry on: 123 / 31

Going ahead to step 6:
The number 31 fits into 123 3 times, leaving a remainder of 30.
Use 3 as the next digit of our solution. 
Result so far: 12193.0
Subtracting 93 from 123 leaves us with 30.
Append the next digit (4) from the dividend to 30 and continue with: 304 / 31

On to step 7:
When dividing 304 by 31, we get 9 with a remainder of 25.
The number 9 becomes the next digit in our result. 
Result so far: 121939.0
Subtracting 279 from 304 leaves us with 25.
Take the next digit (0) from the dividend and append it to 25, then repeat: 250 / 31

Moving on to step 8:
If we divide 250 by 31, we get 8 and a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 1219398.0
Deduct 248 from 250 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 9:
The number 31 fits into 20 0 times, leaving a remainder of 20.
The next digit of our result is 0. 
Result so far: 1219398.0
Deduct 0 from 20 and we're left 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.

Going ahead to step 10:
When dividing 200 by 31, we get 6 with a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 1219398.06
Deduct 186 from 200 and we're left with 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 11:
140 divided by 31 is 4 with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 1219398.064
Subtracting 124 from 140 leaves us 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.

Moving on to step 12:
When dividing 160 by 31, we get 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 1219398.0645
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.

On to step 13:
When dividing 50 by 31, we get 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 1219398.06451
If we take 31 away from 50, we end up 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 14:
190 divided by 31 is 6 with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 1219398.064516
If we subtract 186 from 190, we get 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 15:
40 divided by 31 is 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 1219398.0645161
Subtract 31 from 40 to get 9.
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 16:
When dividing 90 by 31, we get 2 with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 1219398.06451612
If we subtract 62 from 90, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Our division results in 1219398.06451612 with a remaining 2.8e-08.