240031 divided by 5 
Let's see how many times 5 fits into 240031.

Moving on to step 1:
If we divide 2 by 5, we get 0 and a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 5

Step 2:
24 divided by 5 is 4 with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 20 from 24, we get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 5

Step 3:
The number 5 fits into 40 8 times, leaving a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 48.0
Subtract 40 from 40 to get 0.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 5

On to step 4:
5 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 480.0
The remainder is 0 after subtracting 0 from 0.
Append the next digit (3) from the dividend to 0 and continue with: 3 / 5

Let's proceed to step 5:
3 divided by 5 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 4800.0
The remainder is 3 after subtracting 0 from 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 5

On to step 6:
If we divide 31 by 5, we get 6 and a remainder of 1.
The next digit of our result is 6. 
Result so far: 48006.0
Deduct 30 from 31 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
When dividing 10 by 5, we get 2 with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 48006.2
Subtract 10 from 10 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 48006.2
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
0 divided by 5 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 48006.2
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 48006.2, and the remainder is 0.0.