We divide 407257 by 13
We want to figure out the number of times 407257 can be divided by 13.

Let's proceed to step 1:
If we divide 4 by 13, we get 0 and a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 13

Step 2:
13 goes into 40 3 times with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
The remainder is 1 after subtracting 39 from 40.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 13

Advancing to step 3:
13 goes into 17 1 times with a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 31.0
Subtracting 13 from 17 leaves us with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 13

Advancing to step 4:
When dividing 42 by 13, we get 3 with a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 313.0
The remainder is 3 after subtracting 39 from 42.
Include the next digit (5) from the dividend after 3, then repeat: 35 / 13

Going ahead to step 5:
If we divide 35 by 13, we get 2 and a remainder of 9.
Put 2 as the next digit of the answer. 
Result so far: 3132.0
Subtract 26 from 35 to get 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 13

Step 6:
When dividing 97 by 13, we get 7 with a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 31327.0
Subtract 91 from 97 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.

Moving on to step 7:
The number 13 fits into 60 4 times, leaving a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 31327.4
The remainder is 8 after subtracting 52 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 8:
13 goes into 80 6 times with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 31327.46
The remainder is 2 after subtracting 78 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 9:
The number 13 fits into 20 1 times, leaving a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 31327.461
Deduct 13 from 20 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 10:
13 can be fit into 70 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 31327.4615
If we subtract 65 from 70, we 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.

Let's proceed to step 11:
13 goes into 50 3 times with a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 31327.46153
If we take 39 away from 50, we end up 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.

Going ahead to step 12:
If we divide 110 by 13, we get 8 and a remainder of 6.
The next digit of our result is 8. 
Result so far: 31327.461538
Subtracting 104 from 110 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 13:
If we divide 60 by 13, we get 4 and a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 31327.4615384
Deduct 52 from 60 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 14:
If we divide 80 by 13, we get 6 and a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 31327.46153846
If we take 78 away from 80, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final result is 31327.46153846 with a remainder of 2e-09.