We look at the division of 40279789 by 145 
Let's see how many times 145 fits into 40279789.

Moving on to step 1:
4 divided by 145 is 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 145

Advancing to step 2:
145 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Include the next digit (2) from the dividend after 40, then repeat: 402 / 145

Going ahead to step 3:
145 goes into 402 2 times with a remainder of 112.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 290 from 402 leaves us with 112.
Include the next digit (7) from the dividend after 112, then repeat: 1127 / 145

Advancing to step 4:
145 goes into 1127 7 times with a remainder of 112.
The number 7 becomes the next digit in our result. 
Result so far: 27.0
If we take 1015 away from 1127, we end up with 112.
Bring next digit (9) of the dividend behind the 112 and repeat the process: 1129 / 145

Step 5:
The number 145 fits into 1129 7 times, leaving a remainder of 114.
Use 7 as the next digit of our solution. 
Result so far: 277.0
If we subtract 1015 from 1129, we get 114.
Fetch the next digit (7) from the dividend, attach it to 114 and continue: 1147 / 145

Step 6:
145 can be fit into 1147 7 times, resulting in a remainder of 132.
The next digit of our result is 7. 
Result so far: 2777.0
Subtracting 1015 from 1147 leaves us with 132.
Bring next digit (8) of the dividend behind the 132 and repeat the process: 1328 / 145

Moving on to step 7:
145 can be fit into 1328 9 times, resulting in a remainder of 23.
The number 9 becomes the next digit in our result. 
Result so far: 27779.0
The remainder is 23 after subtracting 1305 from 1328.
Bring next digit (9) of the dividend behind the 23 and repeat the process: 239 / 145

On to step 8:
If we divide 239 by 145, we get 1 and a remainder of 94.
The next digit of our result is 1. 
Result so far: 277791.0
The remainder is 94 after subtracting 145 from 239.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Advancing to step 9:
940 divided by 145 is 6 with a remainder of 70.
Put 6 as the next digit of the answer. 
Result so far: 277791.6
Subtract 870 from 940 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Let's proceed to step 10:
700 divided by 145 is 4 with a remainder of 120.
Use 4 as the next digit of our solution. 
Result so far: 277791.64
The remainder is 120 after subtracting 580 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Moving on to step 11:
When dividing 1200 by 145, we get 8 with a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 277791.648
If we subtract 1160 from 1200, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 12:
145 can be fit into 400 2 times, resulting in a remainder of 110.
Use 2 as the next digit of our solution. 
Result so far: 277791.6482
The remainder is 110 after subtracting 290 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Moving on to step 13:
The number 145 fits into 1100 7 times, leaving a remainder of 85.
Write down 7 as next digit of the result. 
Result so far: 277791.64827
Deduct 1015 from 1100 and we're left with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

On to step 14:
850 divided by 145 is 5 with a remainder of 125.
The next digit of our result is 5. 
Result so far: 277791.648275
Deduct 725 from 850 and we're left with 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Step 15:
145 goes into 1250 8 times with a remainder of 90.
The next digit of our result is 8. 
Result so far: 277791.6482758
If we take 1160 away from 1250, we end up with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Going ahead to step 16:
The number 145 fits into 900 6 times, leaving a remainder of 30.
Record the quotient 6 as the next digit in the result. 
Result so far: 277791.64827586
The remainder is 30 after subtracting 870 from 900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final outcome is 277791.64827586, with a leftover of 3e-08.