We divide 40579969 by 39
Let's see how many times 39 fits into 40579969.

Step 1:
If we divide 4 by 39, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 39

Let's proceed to step 2:
40 divided by 39 is 1 with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 39 from 40 to get 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 39

Step 3:
39 can be fit into 15 0 times, resulting in a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
The remainder is 15 after subtracting 0 from 15.
Include the next digit (7) from the dividend after 15, then repeat: 157 / 39

Moving on to step 4:
The number 39 fits into 157 4 times, leaving a remainder of 1.
The next digit of our result is 4. 
Result so far: 104.0
Deduct 156 from 157 and we're left with 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 39

On to step 5:
39 goes into 19 0 times with a remainder of 19.
Use 0 as the next digit of our solution. 
Result so far: 1040.0
Subtract 0 from 19 to get 19.
Fetch the next digit (9) from the dividend, attach it to 19 and continue: 199 / 39

Moving on to step 6:
When dividing 199 by 39, we get 5 with a remainder of 4.
Record the quotient 5 as the next digit in the result. 
Result so far: 10405.0
Subtract 195 from 199 to get 4.
Fetch the next digit (6) from the dividend, attach it to 4 and continue: 46 / 39

Going ahead to step 7:
When dividing 46 by 39, we get 1 with a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 104051.0
The remainder is 7 after subtracting 39 from 46.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 39

Moving on to step 8:
79 divided by 39 is 2 with a remainder of 1.
The next digit of our result is 2. 
Result so far: 1040512.0
Deduct 78 from 79 and we're left with 1.
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 9:
10 divided by 39 is 0 with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 1040512.0
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.

Moving on to step 10:
If we divide 100 by 39, we get 2 and a remainder of 22.
Write down 2 as next digit of the result. 
Result so far: 1040512.02
The remainder is 22 after subtracting 78 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 11:
When dividing 220 by 39, we get 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 1040512.025
The remainder is 25 after subtracting 195 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 12:
The number 39 fits into 250 6 times, leaving a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 1040512.0256
Subtracting 234 from 250 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 13:
The number 39 fits into 160 4 times, leaving a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 1040512.02564
The remainder is 4 after subtracting 156 from 160.
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 14:
The number 39 fits into 40 1 times, leaving a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1040512.025641
Deduct 39 from 40 and we're left with 1.
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 15:
When dividing 10 by 39, we get 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 1040512.025641
Subtracting 0 from 10 leaves us 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 16:
When dividing 100 by 39, we get 2 with a remainder of 22.
The next digit of our result is 2. 
Result so far: 1040512.02564102
If we take 78 away from 100, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

In conclusion, the division gives 1040512.02564102 with a balance of 2.2e-08.