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

Advancing 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
Subtract 0 from 4 to get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 13

Moving on to step 2:
If we divide 40 by 13, we get 3 and a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 39 away from 40, we end up with 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 13

On to step 3:
13 goes into 19 1 times with a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 31.0
Subtract 13 from 19 to get 6.
Append the next digit (7) from the dividend to 6 and continue with: 67 / 13

Step 4:
13 goes into 67 5 times with a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 315.0
Deduct 65 from 67 and we're left with 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 13

Going ahead to step 5:
When dividing 21 by 13, we get 1 with a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 3151.0
If we take 13 away from 21, we end up with 8.
Take the next digit (8) from the dividend and append it to 8, then repeat: 88 / 13

Step 6:
88 divided by 13 is 6 with a remainder of 10.
Record the quotient 6 as the next digit in the result. 
Result so far: 31516.0
If we subtract 78 from 88, we get 10.
Take the next digit (6) from the dividend and append it to 10, then repeat: 106 / 13

On to step 7:
If we divide 106 by 13, we get 8 and a remainder of 2.
The next digit of our result is 8. 
Result so far: 315168.0
If we take 104 away from 106, we end up with 2.
Take the next digit (8) from the dividend and append it to 2, then repeat: 28 / 13

On to step 8:
The number 13 fits into 28 2 times, leaving a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 3151682.0
The remainder is 2 after subtracting 26 from 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 9:
13 can be fit into 20 1 times, resulting in a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 3151682.1
The remainder is 7 after subtracting 13 from 20.
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:
70 divided by 13 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 3151682.15
Deduct 65 from 70 and we're left with 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.
Put 3 as the next digit of the answer. 
Result so far: 3151682.153
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.

Step 12:
13 can be fit into 110 8 times, resulting in a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 3151682.1538
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.

Moving on to step 13:
60 divided by 13 is 4 with a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 3151682.15384
If we take 52 away from 60, we end up 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 14:
80 divided by 13 is 6 with a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 3151682.153846
Subtracting 78 from 80 leaves us 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.

Advancing to step 15:
13 can be fit into 20 1 times, resulting in a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 3151682.1538461
Subtract 13 from 20 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 16:
13 goes into 70 5 times with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 3151682.15384615
Deduct 65 from 70 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

In conclusion, the division gives 3151682.15384615 with a balance of 5e-09.