We look at the division of 5731247 by 500 
We want to figure out the number of times 5731247 can be divided by 500.

Moving on to step 1:
The number 500 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (7) from the dividend to 5 and continue with: 57 / 500

Let's proceed to step 2:
500 goes into 57 0 times with a remainder of 57.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 57 and we're left with 57.
Fetch the next digit (3) from the dividend, attach it to 57 and continue: 573 / 500

On to step 3:
The number 500 fits into 573 1 times, leaving a remainder of 73.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 500 from 573 to get 73.
Bring next digit (1) of the dividend behind the 73 and repeat the process: 731 / 500

Moving on to step 4:
731 divided by 500 is 1 with a remainder of 231.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
Subtract 500 from 731 to get 231.
Take the next digit (2) from the dividend and append it to 231, then repeat: 2312 / 500

Going ahead to step 5:
When dividing 2312 by 500, we get 4 with a remainder of 312.
Put 4 as the next digit of the answer. 
Result so far: 114.0
The remainder is 312 after subtracting 2000 from 2312.
Include the next digit (4) from the dividend after 312, then repeat: 3124 / 500

Moving on to step 6:
When dividing 3124 by 500, we get 6 with a remainder of 124.
The number 6 becomes the next digit in our result. 
Result so far: 1146.0
Deduct 3000 from 3124 and we're left with 124.
Append the next digit (7) from the dividend to 124 and continue with: 1247 / 500

Let's proceed to step 7:
500 goes into 1247 2 times with a remainder of 247.
The next digit of our result is 2. 
Result so far: 11462.0
Subtracting 1000 from 1247 leaves us with 247.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2470, and continue the process.

Advancing to step 8:
2470 divided by 500 is 4 with a remainder of 470.
Write down 4 as next digit of the result. 
Result so far: 11462.4
Subtract 2000 from 2470 to get 470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4700, and continue the process.

On to step 9:
If we divide 4700 by 500, we get 9 and a remainder of 200.
Put 9 as the next digit of the answer. 
Result so far: 11462.49
If we take 4500 away from 4700, we end up with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Step 10:
2000 divided by 500 is 4 with a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 11462.494
The remainder is 0 after subtracting 2000 from 2000.
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 11:
When dividing 0 by 500, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 11462.494
Deduct 0 from 0 and we're left with 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 12:
When dividing 0 by 500, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 11462.494
Deduct 0 from 0 and we're left with 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 final result is 11462.494 with a remainder of 0.0.