Let's divide 24391 by 31
We're looking to find how many times 31 goes into 24391.

Moving on to step 1:
2 divided by 31 is 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 31

Going ahead to step 2:
The number 31 fits into 24 0 times, leaving a remainder of 24.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 24 leaves us with 24.
Grab the next digit (3) from the dividend, add it to 24, then carry on: 243 / 31

Moving on to step 3:
31 goes into 243 7 times with a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
If we subtract 217 from 243, we get 26.
Take the next digit (9) from the dividend and append it to 26, then repeat: 269 / 31

Step 4:
31 can be fit into 269 8 times, resulting in a remainder of 21.
Put 8 as the next digit of the answer. 
Result so far: 78.0
The remainder is 21 after subtracting 248 from 269.
Include the next digit (1) from the dividend after 21, then repeat: 211 / 31

Advancing to step 5:
211 divided by 31 is 6 with a remainder of 25.
Put 6 as the next digit of the answer. 
Result so far: 786.0
Subtracting 186 from 211 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 6:
250 divided by 31 is 8 with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 786.8
Subtracting 248 from 250 leaves us 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.

Step 7:
If we divide 20 by 31, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 786.8
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 8:
31 goes into 200 6 times with a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 786.806
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 9:
31 goes into 140 4 times with a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 786.8064
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.

Going ahead to step 10:
160 divided by 31 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 786.80645
Subtract 155 from 160 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 11:
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: 786.806451
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.

Going ahead to step 12:
31 can be fit into 190 6 times, resulting in a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 786.8064516
Deduct 186 from 190 and we're left 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.

Going ahead to step 13:
31 can be fit into 40 1 times, resulting in a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 786.80645161
Subtracting 31 from 40 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The final result is 786.80645161 with a remainder of 9e-09.