40022612 divided by 13 
We're looking to find how many times 13 goes into 40022612.

Moving on to step 1:
13 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 13

On to step 2:
The number 13 fits into 40 3 times, leaving a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtracting 39 from 40 leaves us with 1.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 13

On to step 3:
The number 13 fits into 10 0 times, leaving a remainder of 10.
The next digit of our result is 0. 
Result so far: 30.0
If we subtract 0 from 10, we get 10.
Fetch the next digit (2) from the dividend, attach it to 10 and continue: 102 / 13

Moving on to step 4:
If we divide 102 by 13, we get 7 and a remainder of 11.
The next digit of our result is 7. 
Result so far: 307.0
The remainder is 11 after subtracting 91 from 102.
Fetch the next digit (2) from the dividend, attach it to 11 and continue: 112 / 13

Step 5:
112 divided by 13 is 8 with a remainder of 8.
The next digit of our result is 8. 
Result so far: 3078.0
Subtract 104 from 112 to get 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 13

Moving on to step 6:
If we divide 86 by 13, we get 6 and a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 30786.0
Subtract 78 from 86 to get 8.
Take the next digit (1) from the dividend and append it to 8, then repeat: 81 / 13

Let's proceed to step 7:
81 divided by 13 is 6 with a remainder of 3.
Put 6 as the next digit of the answer. 
Result so far: 307866.0
Subtracting 78 from 81 leaves us with 3.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 13

On to step 8:
When dividing 32 by 13, we get 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 3078662.0
If we subtract 26 from 32, we 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 9:
13 goes into 60 4 times with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 3078662.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.

Step 10:
When dividing 80 by 13, we get 6 with a remainder of 2.
The next digit of our result is 6. 
Result so far: 3078662.46
Deduct 78 from 80 and we're left 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.

Going ahead to step 11:
13 goes into 20 1 times with a remainder of 7.
Record the quotient 1 as the next digit in the result. 
Result so far: 3078662.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.

Going ahead to step 12:
70 divided by 13 is 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 3078662.4615
The remainder is 5 after subtracting 65 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 13:
50 divided by 13 is 3 with a remainder of 11.
The next digit of our result is 3. 
Result so far: 3078662.46153
Subtracting 39 from 50 leaves us 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 14:
13 goes into 110 8 times with a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 3078662.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.

Going ahead to step 15:
60 divided by 13 is 4 with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 3078662.4615384
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.

Going ahead to step 16:
13 can be fit into 80 6 times, resulting in a remainder of 2.
The next digit of our result is 6. 
Result so far: 3078662.46153846
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.

After the division, we end up with 3078662.46153846 and a remainder of 2e-09.