We're dividing 40421072 by 13 
We're looking to find how many times 13 goes into 40421072.

Advancing to step 1:
When dividing 4 by 13, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 13

On to step 2:
When dividing 40 by 13, we get 3 with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we subtract 39 from 40, we get 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 13

Let's proceed to step 3:
The number 13 fits into 14 1 times, leaving a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 31.0
If we take 13 away from 14, we end up with 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 13

Advancing to step 4:
The number 13 fits into 12 0 times, leaving a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 310.0
Deduct 0 from 12 and we're left with 12.
Grab the next digit (1) from the dividend, add it to 12, then carry on: 121 / 13

Let's proceed to step 5:
When dividing 121 by 13, we get 9 with a remainder of 4.
The next digit of our result is 9. 
Result so far: 3109.0
If we subtract 117 from 121, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 13

Advancing to step 6:
If we divide 40 by 13, we get 3 and a remainder of 1.
The next digit of our result is 3. 
Result so far: 31093.0
The remainder is 1 after subtracting 39 from 40.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 13

Advancing to step 7:
The number 13 fits into 17 1 times, leaving a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 310931.0
The remainder is 4 after subtracting 13 from 17.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 13

Advancing to step 8:
If we divide 42 by 13, we get 3 and a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 3109313.0
If we subtract 39 from 42, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 9:
When dividing 30 by 13, we get 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 3109313.2
Deduct 26 from 30 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 10:
40 divided by 13 is 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 3109313.23
The remainder is 1 after subtracting 39 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 11:
If we divide 10 by 13, we get 0 and a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 3109313.23
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 12:
13 can be fit into 100 7 times, resulting in a remainder of 9.
Put 7 as the next digit of the answer. 
Result so far: 3109313.2307
If we subtract 91 from 100, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 13:
13 can be fit into 90 6 times, resulting in a remainder of 12.
The next digit of our result is 6. 
Result so far: 3109313.23076
Subtract 78 from 90 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 14:
If we divide 120 by 13, we get 9 and a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 3109313.230769
Subtracting 117 from 120 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 15:
13 goes into 30 2 times with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 3109313.2307692
Subtracting 26 from 30 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 16:
40 divided by 13 is 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 3109313.23076923
If we subtract 39 from 40, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

In conclusion, the division gives 3109313.23076923 with a balance of 1e-09.