Let's divide 364882 by 31
Our goal is to divide 364882 by 31.

Step 1:
31 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
If we subtract 0 from 3, we get 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 31

Going ahead to step 2:
The number 31 fits into 36 1 times, leaving a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 31 from 36 leaves us with 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 31

Let's proceed to step 3:
The number 31 fits into 54 1 times, leaving a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 11.0
Subtract 31 from 54 to get 23.
Take the next digit (8) from the dividend and append it to 23, then repeat: 238 / 31

On to step 4:
The number 31 fits into 238 7 times, leaving a remainder of 21.
Put 7 as the next digit of the answer. 
Result so far: 117.0
Subtract 217 from 238 to get 21.
Fetch the next digit (8) from the dividend, attach it to 21 and continue: 218 / 31

Let's proceed to step 5:
31 can be fit into 218 7 times, resulting in a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 1177.0
If we take 217 away from 218, we end up with 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 31

Going ahead to step 6:
The number 31 fits into 12 0 times, leaving a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 11770.0
If we subtract 0 from 12, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 7:
120 divided by 31 is 3 with a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 11770.3
Subtract 93 from 120 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 8:
270 divided by 31 is 8 with a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 11770.38
If we subtract 248 from 270, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 9:
If we divide 220 by 31, we get 7 and a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 11770.387
Deduct 217 from 220 and we're left 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.

Moving on to step 10:
31 can be fit into 30 0 times, resulting in a remainder of 30.
The next digit of our result is 0. 
Result so far: 11770.387
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 11:
The number 31 fits into 300 9 times, leaving a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 11770.38709
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.

Step 12:
31 can be fit into 210 6 times, resulting in a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 11770.387096
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.

On to step 13:
If we divide 240 by 31, we get 7 and a remainder of 23.
The next digit of our result is 7. 
Result so far: 11770.3870967
Subtracting 217 from 240 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 14:
If we divide 230 by 31, we get 7 and a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 11770.38709677
Subtracting 217 from 230 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Our division results in 11770.38709677 with a remaining 1.3e-08.