We're dividing 31721017 by 583 
We want to figure out the number of times 31721017 can be divided by 583.

Going ahead to step 1:
3 divided by 583 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 583

Let's proceed to step 2:
If we divide 31 by 583, we get 0 and a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Fetch the next digit (7) from the dividend, attach it to 31 and continue: 317 / 583

On to step 3:
583 can be fit into 317 0 times, resulting in a remainder of 317.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 317 to get 317.
Take the next digit (2) from the dividend and append it to 317, then repeat: 3172 / 583

Let's proceed to step 4:
If we divide 3172 by 583, we get 5 and a remainder of 257.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we take 2915 away from 3172, we end up with 257.
Include the next digit (1) from the dividend after 257, then repeat: 2571 / 583

Going ahead to step 5:
When dividing 2571 by 583, we get 4 with a remainder of 239.
The number 4 becomes the next digit in our result. 
Result so far: 54.0
Subtracting 2332 from 2571 leaves us with 239.
Take the next digit (0) from the dividend and append it to 239, then repeat: 2390 / 583

Moving on to step 6:
When dividing 2390 by 583, we get 4 with a remainder of 58.
The next digit of our result is 4. 
Result so far: 544.0
The remainder is 58 after subtracting 2332 from 2390.
Grab the next digit (1) from the dividend, add it to 58, then carry on: 581 / 583

Moving on to step 7:
583 goes into 581 0 times with a remainder of 581.
The number 0 becomes the next digit in our result. 
Result so far: 5440.0
If we subtract 0 from 581, we get 581.
Take the next digit (7) from the dividend and append it to 581, then repeat: 5817 / 583

Let's proceed to step 8:
When dividing 5817 by 583, we get 9 with a remainder of 570.
Write down 9 as next digit of the result. 
Result so far: 54409.0
If we take 5247 away from 5817, we end up with 570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5700, and continue the process.

On to step 9:
When dividing 5700 by 583, we get 9 with a remainder of 453.
Write down 9 as next digit of the result. 
Result so far: 54409.9
If we subtract 5247 from 5700, we get 453.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4530, and continue the process.

Step 10:
583 goes into 4530 7 times with a remainder of 449.
The next digit of our result is 7. 
Result so far: 54409.97
If we subtract 4081 from 4530, we get 449.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4490, and continue the process.

Moving on to step 11:
4490 divided by 583 is 7 with a remainder of 409.
Use 7 as the next digit of our solution. 
Result so far: 54409.977
Deduct 4081 from 4490 and we're left with 409.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4090, and continue the process.

After the division, we end up with 54409.977 and a remainder of 0.0409.