Let's divide 40400639 by 14
We want to figure out the number of times 40400639 can be divided by 14.

Advancing to step 1:
When dividing 4 by 14, we get 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 14

Step 2:
If we divide 40 by 14, we get 2 and a remainder of 12.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 28 from 40 leaves us with 12.
Include the next digit (4) from the dividend after 12, then repeat: 124 / 14

Advancing to step 3:
When dividing 124 by 14, we get 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 28.0
Deduct 112 from 124 and we're left with 12.
Append the next digit (0) from the dividend to 12 and continue with: 120 / 14

Advancing to step 4:
When dividing 120 by 14, we get 8 with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 288.0
Subtracting 112 from 120 leaves us with 8.
Grab the next digit (0) from the dividend, add it to 8, then carry on: 80 / 14

Going ahead to step 5:
14 goes into 80 5 times with a remainder of 10.
The next digit of our result is 5. 
Result so far: 2885.0
Subtracting 70 from 80 leaves us with 10.
Append the next digit (6) from the dividend to 10 and continue with: 106 / 14

Going ahead to step 6:
14 goes into 106 7 times with a remainder of 8.
Record the quotient 7 as the next digit in the result. 
Result so far: 28857.0
Deduct 98 from 106 and we're left with 8.
Include the next digit (3) from the dividend after 8, then repeat: 83 / 14

On to step 7:
14 can be fit into 83 5 times, resulting in a remainder of 13.
Write down 5 as next digit of the result. 
Result so far: 288575.0
If we subtract 70 from 83, we get 13.
Fetch the next digit (9) from the dividend, attach it to 13 and continue: 139 / 14

Moving on to step 8:
The number 14 fits into 139 9 times, leaving a remainder of 13.
The number 9 becomes the next digit in our result. 
Result so far: 2885759.0
Subtract 126 from 139 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 9:
If we divide 130 by 14, we get 9 and a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 2885759.9
Subtracting 126 from 130 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.

Moving on to step 10:
When dividing 40 by 14, we get 2 with a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 2885759.92
If we take 28 away from 40, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 11:
14 can be fit into 120 8 times, resulting in a remainder of 8.
The next digit of our result is 8. 
Result so far: 2885759.928
Subtract 112 from 120 to get 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 12:
If we divide 80 by 14, we get 5 and a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 2885759.9285
If we take 70 away from 80, 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.

Step 13:
If we divide 100 by 14, we get 7 and a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 2885759.92857
Deduct 98 from 100 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.

On to step 14:
If we divide 20 by 14, we get 1 and a remainder of 6.
The next digit of our result is 1. 
Result so far: 2885759.928571
The remainder is 6 after subtracting 14 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 15:
When dividing 60 by 14, we get 4 with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 2885759.9285714
Subtract 56 from 60 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 16:
14 can be fit into 40 2 times, resulting in a remainder of 12.
Record the quotient 2 as the next digit in the result. 
Result so far: 2885759.92857142
Deduct 28 from 40 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

After the division, we end up with 2885759.92857142 and a remainder of 1.2e-08.