We look at the division of 240491 by 31 
We're looking to find how many times 31 goes into 240491.

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
Subtracting 0 from 2 leaves us with 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 31

Let's proceed to step 2:
31 can be fit into 24 0 times, resulting in a remainder of 24.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 24 to get 24.
Fetch the next digit (0) from the dividend, attach it to 24 and continue: 240 / 31

Moving on to step 3:
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: 7.0
If we subtract 217 from 240, we get 23.
Bring next digit (4) of the dividend behind the 23 and repeat the process: 234 / 31

Going ahead to step 4:
When dividing 234 by 31, we get 7 with a remainder of 17.
The next digit of our result is 7. 
Result so far: 77.0
Deduct 217 from 234 and we're left with 17.
Include the next digit (9) from the dividend after 17, then repeat: 179 / 31

Moving on to step 5:
If we divide 179 by 31, we get 5 and a remainder of 24.
Write down 5 as next digit of the result. 
Result so far: 775.0
Deduct 155 from 179 and we're left with 24.
Grab the next digit (1) from the dividend, add it to 24, then carry on: 241 / 31

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

Moving on to step 7:
If we divide 240 by 31, we get 7 and a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 7757.7
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 8:
230 divided by 31 is 7 with a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 7757.77
Deduct 217 from 230 and we're left 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.

The final result is 7757.77 with a remainder of 0.013.