372864 divided by 31 
Our goal is to divide 372864 by 31.

Step 1:
3 divided by 31 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 31

Moving on to step 2:
31 can be fit into 37 1 times, resulting in a remainder of 6.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 31 from 37 to get 6.
Bring next digit (2) of the dividend behind the 6 and repeat the process: 62 / 31

Advancing to step 3:
The number 31 fits into 62 2 times, leaving a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 12.0
The remainder is 0 after subtracting 62 from 62.
Bring next digit (8) of the dividend behind the 0 and repeat the process: 8 / 31

Going ahead to step 4:
If we divide 8 by 31, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 120.0
Subtract 0 from 8 to get 8.
Include the next digit (6) from the dividend after 8, then repeat: 86 / 31

On to step 5:
31 goes into 86 2 times with a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 1202.0
Subtract 62 from 86 to get 24.
Include the next digit (4) from the dividend after 24, then repeat: 244 / 31

Moving on to step 6:
244 divided by 31 is 7 with a remainder of 27.
The number 7 becomes the next digit in our result. 
Result so far: 12027.0
If we take 217 away from 244, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 7:
270 divided by 31 is 8 with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 12027.8
Subtracting 248 from 270 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 8:
When dividing 220 by 31, we get 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 12027.87
Subtracting 217 from 220 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 9:
30 divided by 31 is 0 with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 12027.87
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 10:
The number 31 fits into 300 9 times, leaving a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 12027.8709
If we take 279 away from 300, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 11:
When dividing 210 by 31, we get 6 with a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 12027.87096
Deduct 186 from 210 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 12:
31 goes into 240 7 times with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 12027.870967
The remainder is 23 after subtracting 217 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 13:
If we divide 230 by 31, we get 7 and a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 12027.8709677
If we subtract 217 from 230, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

After the division, we end up with 12027.8709677 and a remainder of 1.3e-07.