Let's divide 407790 by 13
Let's see how many times 13 fits into 407790.

Step 1:
13 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 13

Moving on to step 2:
13 can be fit into 40 3 times, resulting in a remainder of 1.
The next digit of our result is 3. 
Result so far: 3.0
If we take 39 away from 40, we end up with 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 13

Advancing to step 3:
17 divided by 13 is 1 with a remainder of 4.
The next digit of our result is 1. 
Result so far: 31.0
Subtract 13 from 17 to get 4.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 13

Moving on to step 4:
The number 13 fits into 47 3 times, leaving a remainder of 8.
Write down 3 as next digit of the result. 
Result so far: 313.0
Subtract 39 from 47 to get 8.
Bring next digit (9) of the dividend behind the 8 and repeat the process: 89 / 13

On to step 5:
13 can be fit into 89 6 times, resulting in a remainder of 11.
Put 6 as the next digit of the answer. 
Result so far: 3136.0
If we subtract 78 from 89, we get 11.
Append the next digit (0) from the dividend to 11 and continue with: 110 / 13

Step 6:
110 divided by 13 is 8 with a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 31368.0
Deduct 104 from 110 and we're left 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.

Going ahead to step 7:
If we divide 60 by 13, we get 4 and a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 31368.4
Subtracting 52 from 60 leaves us 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.

Step 8:
13 goes into 80 6 times with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 31368.46
Subtract 78 from 80 to 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.

On to step 9:
13 goes into 20 1 times with a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 31368.461
Subtracting 13 from 20 leaves us 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.

Going ahead to step 10:
70 divided by 13 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 31368.4615
Subtract 65 from 70 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.

On to step 11:
The number 13 fits into 50 3 times, leaving a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 31368.46153
If we subtract 39 from 50, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 12:
If we divide 110 by 13, we get 8 and a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 31368.461538
The remainder is 6 after subtracting 104 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 13:
13 goes into 60 4 times with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 31368.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.

Let's proceed to step 14:
80 divided by 13 is 6 with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 31368.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 quotient of the division is 31368.46153846, and the remainder is 2e-09.