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

Advancing to step 1:
4 divided by 31 is 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 31

Let's proceed to step 2:
31 can be fit into 40 1 times, resulting in a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 9 after subtracting 31 from 40.
Append the next digit (3) from the dividend to 9 and continue with: 93 / 31

Moving on to step 3:
93 divided by 31 is 3 with a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 13.0
If we subtract 93 from 93, we get 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 31

Moving on to step 4:
The number 31 fits into 7 0 times, leaving a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 130.0
If we take 0 away from 7, we end up with 7.
Append the next digit (3) from the dividend to 7 and continue with: 73 / 31

On to step 5:
31 goes into 73 2 times with a remainder of 11.
Record the quotient 2 as the next digit in the result. 
Result so far: 1302.0
Deduct 62 from 73 and we're left with 11.
Grab the next digit (1) from the dividend, add it to 11, then carry on: 111 / 31

Going ahead to step 6:
31 can be fit into 111 3 times, resulting in a remainder of 18.
Put 3 as the next digit of the answer. 
Result so far: 13023.0
The remainder is 18 after subtracting 93 from 111.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 7:
When dividing 180 by 31, we get 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 13023.5
If we take 155 away from 180, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 8:
If we divide 250 by 31, we get 8 and a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 13023.58
If we subtract 248 from 250, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 9:
31 goes into 20 0 times with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 13023.58
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 10:
When dividing 200 by 31, we get 6 with a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 13023.5806
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 11:
The number 31 fits into 140 4 times, leaving a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 13023.58064
If we subtract 124 from 140, we 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.

Let's proceed to step 12:
When dividing 160 by 31, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 13023.580645
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.

Advancing to step 13:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 13023.5806451
Deduct 31 from 50 and we're left 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.

Going ahead to step 14:
When dividing 190 by 31, we get 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 13023.58064516
The remainder is 4 after subtracting 186 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 13023.58064516 with a remaining 4e-09.