291389 divided by 31 
We want to figure out the number of times 291389 can be divided by 31.

Moving on to step 1:
If we divide 2 by 31, we get 0 and a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Grab the next digit (9) from the dividend, add it to 2, then carry on: 29 / 31

On to step 2:
When dividing 29 by 31, we get 0 with a remainder of 29.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 29 to get 29.
Grab the next digit (1) from the dividend, add it to 29, then carry on: 291 / 31

Moving on to step 3:
291 divided by 31 is 9 with a remainder of 12.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtracting 279 from 291 leaves us with 12.
Bring next digit (3) of the dividend behind the 12 and repeat the process: 123 / 31

On to step 4:
When dividing 123 by 31, we get 3 with a remainder of 30.
Write down 3 as next digit of the result. 
Result so far: 93.0
Deduct 93 from 123 and we're left with 30.
Include the next digit (8) from the dividend after 30, then repeat: 308 / 31

Step 5:
When dividing 308 by 31, we get 9 with a remainder of 29.
Record the quotient 9 as the next digit in the result. 
Result so far: 939.0
Subtracting 279 from 308 leaves us with 29.
Include the next digit (9) from the dividend after 29, then repeat: 299 / 31

Advancing to step 6:
If we divide 299 by 31, we get 9 and a remainder of 20.
Use 9 as the next digit of our solution. 
Result so far: 9399.0
If we take 279 away from 299, we end up 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.

Step 7:
31 goes into 200 6 times with a remainder of 14.
The next digit of our result is 6. 
Result so far: 9399.6
Subtracting 186 from 200 leaves us 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 8:
The number 31 fits into 140 4 times, leaving a remainder of 16.
The next digit of our result is 4. 
Result so far: 9399.64
Subtract 124 from 140 to get 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 9:
The number 31 fits into 160 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 9399.645
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.

Step 10:
When dividing 50 by 31, we get 1 with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 9399.6451
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.

Let's proceed to step 11:
31 goes into 190 6 times with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 9399.64516
If we take 186 away from 190, we end up 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:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 9399.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.

Advancing to step 13:
The number 31 fits into 90 2 times, leaving a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 9399.6451612
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.

Moving on to step 14:
31 goes into 280 9 times with a remainder of 1.
The next digit of our result is 9. 
Result so far: 9399.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.

The final result is 9399.64516129 with a remainder of 1e-09.