40403388 divided by 277 
We're looking to find how many times 277 goes into 40403388.

Going ahead to step 1:
277 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 277

Moving on to step 2:
The number 277 fits into 40 0 times, leaving a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Fetch the next digit (4) from the dividend, attach it to 40 and continue: 404 / 277

Let's proceed to step 3:
404 divided by 277 is 1 with a remainder of 127.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 277 from 404 leaves us with 127.
Fetch the next digit (0) from the dividend, attach it to 127 and continue: 1270 / 277

Step 4:
1270 divided by 277 is 4 with a remainder of 162.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
If we take 1108 away from 1270, we end up with 162.
Grab the next digit (3) from the dividend, add it to 162, then carry on: 1623 / 277

On to step 5:
The number 277 fits into 1623 5 times, leaving a remainder of 238.
Put 5 as the next digit of the answer. 
Result so far: 145.0
If we take 1385 away from 1623, we end up with 238.
Fetch the next digit (3) from the dividend, attach it to 238 and continue: 2383 / 277

Let's proceed to step 6:
If we divide 2383 by 277, we get 8 and a remainder of 167.
The next digit of our result is 8. 
Result so far: 1458.0
If we take 2216 away from 2383, we end up with 167.
Take the next digit (8) from the dividend and append it to 167, then repeat: 1678 / 277

Step 7:
The number 277 fits into 1678 6 times, leaving a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 14586.0
If we subtract 1662 from 1678, we get 16.
Fetch the next digit (8) from the dividend, attach it to 16 and continue: 168 / 277

Step 8:
The number 277 fits into 168 0 times, leaving a remainder of 168.
Write down 0 as next digit of the result. 
Result so far: 145860.0
If we take 0 away from 168, we end up with 168.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

Advancing to step 9:
The number 277 fits into 1680 6 times, leaving a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 145860.6
If we subtract 1662 from 1680, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 10:
The number 277 fits into 180 0 times, leaving a remainder of 180.
Use 0 as the next digit of our solution. 
Result so far: 145860.6
Subtracting 0 from 180 leaves us with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Advancing to step 11:
When dividing 1800 by 277, we get 6 with a remainder of 138.
Use 6 as the next digit of our solution. 
Result so far: 145860.606
Subtracting 1662 from 1800 leaves us with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Moving on to step 12:
When dividing 1380 by 277, we get 4 with a remainder of 272.
Write down 4 as next digit of the result. 
Result so far: 145860.6064
Deduct 1108 from 1380 and we're left with 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Step 13:
277 can be fit into 2720 9 times, resulting in a remainder of 227.
Record the quotient 9 as the next digit in the result. 
Result so far: 145860.60649
Deduct 2493 from 2720 and we're left with 227.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2270, and continue the process.

On to step 14:
277 can be fit into 2270 8 times, resulting in a remainder of 54.
The next digit of our result is 8. 
Result so far: 145860.606498
If we subtract 2216 from 2270, we get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

On to step 15:
540 divided by 277 is 1 with a remainder of 263.
Use 1 as the next digit of our solution. 
Result so far: 145860.6064981
Subtracting 277 from 540 leaves us with 263.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2630, and continue the process.

Let's proceed to step 16:
When dividing 2630 by 277, we get 9 with a remainder of 137.
Put 9 as the next digit of the answer. 
Result so far: 145860.60649819
Subtracting 2493 from 2630 leaves us with 137.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1370, and continue the process.

Our division results in 145860.60649819 with a remaining 1.37e-07.