408059 divided by 31 
We want to figure out the number of times 408059 can be divided by 31.

Moving on to step 1:
If we divide 4 by 31, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 31

Advancing to step 2:
If we divide 40 by 31, we get 1 and a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 31 from 40 and we're left with 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 31

Let's proceed to step 3:
If we divide 98 by 31, we get 3 and a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 13.0
If we take 93 away from 98, we end up with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 31

Advancing to step 4:
31 goes into 50 1 times with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 131.0
Deduct 31 from 50 and we're left with 19.
Grab the next digit (5) from the dividend, add it to 19, then carry on: 195 / 31

Moving on to step 5:
When dividing 195 by 31, we get 6 with a remainder of 9.
The next digit of our result is 6. 
Result so far: 1316.0
Subtract 186 from 195 to get 9.
Take the next digit (9) from the dividend and append it to 9, then repeat: 99 / 31

On to step 6:
The number 31 fits into 99 3 times, leaving a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 13163.0
Subtract 93 from 99 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
31 can be fit into 60 1 times, resulting in a remainder of 29.
The next digit of our result is 1. 
Result so far: 13163.1
Subtracting 31 from 60 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 8:
290 divided by 31 is 9 with a remainder of 11.
Record the quotient 9 as the next digit in the result. 
Result so far: 13163.19
Deduct 279 from 290 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 9:
31 goes into 110 3 times with a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 13163.193
If we take 93 away from 110, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 10:
31 goes into 170 5 times with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 13163.1935
If we take 155 away from 170, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 11:
31 goes into 150 4 times with a remainder of 26.
Write down 4 as next digit of the result. 
Result so far: 13163.19354
If we take 124 away from 150, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 12:
When dividing 260 by 31, we get 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 13163.193548
Deduct 248 from 260 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 13:
When dividing 120 by 31, we get 3 with a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 13163.1935483
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 14:
When dividing 270 by 31, we get 8 with a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 13163.19354838
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

After the division, we end up with 13163.19354838 and a remainder of 2.2e-08.