We look at the division of 40227365 by 227 
We want to figure out the number of times 40227365 can be divided by 227.

Advancing to step 1:
The number 227 fits into 4 0 times, leaving a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 227

Let's proceed to step 2:
The number 227 fits into 40 0 times, leaving a remainder of 40.
Put 0 as the next digit of the answer. 
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 / 227

Step 3:
When dividing 402 by 227, we get 1 with a remainder of 175.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 227 from 402 and we're left with 175.
Take the next digit (2) from the dividend and append it to 175, then repeat: 1752 / 227

Step 4:
When dividing 1752 by 227, we get 7 with a remainder of 163.
Write down 7 as next digit of the result. 
Result so far: 17.0
Subtracting 1589 from 1752 leaves us with 163.
Fetch the next digit (7) from the dividend, attach it to 163 and continue: 1637 / 227

Moving on to step 5:
227 can be fit into 1637 7 times, resulting in a remainder of 48.
Put 7 as the next digit of the answer. 
Result so far: 177.0
Subtract 1589 from 1637 to get 48.
Take the next digit (3) from the dividend and append it to 48, then repeat: 483 / 227

Step 6:
The number 227 fits into 483 2 times, leaving a remainder of 29.
Put 2 as the next digit of the answer. 
Result so far: 1772.0
The remainder is 29 after subtracting 454 from 483.
Append the next digit (6) from the dividend to 29 and continue with: 296 / 227

Moving on to step 7:
The number 227 fits into 296 1 times, leaving a remainder of 69.
The number 1 becomes the next digit in our result. 
Result so far: 17721.0
Subtracting 227 from 296 leaves us with 69.
Fetch the next digit (5) from the dividend, attach it to 69 and continue: 695 / 227

On to step 8:
227 goes into 695 3 times with a remainder of 14.
Record the quotient 3 as the next digit in the result. 
Result so far: 177213.0
If we subtract 681 from 695, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 9:
227 can be fit into 140 0 times, resulting in a remainder of 140.
Use 0 as the next digit of our solution. 
Result so far: 177213.0
If we take 0 away from 140, we end up with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Let's proceed to step 10:
227 goes into 1400 6 times with a remainder of 38.
Write down 6 as next digit of the result. 
Result so far: 177213.06
The remainder is 38 after subtracting 1362 from 1400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 11:
227 can be fit into 380 1 times, resulting in a remainder of 153.
The number 1 becomes the next digit in our result. 
Result so far: 177213.061
If we take 227 away from 380, we end up with 153.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1530, and continue the process.

Let's proceed to step 12:
The number 227 fits into 1530 6 times, leaving a remainder of 168.
The next digit of our result is 6. 
Result so far: 177213.0616
The remainder is 168 after subtracting 1362 from 1530.
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 13:
227 can be fit into 1680 7 times, resulting in a remainder of 91.
The number 7 becomes the next digit in our result. 
Result so far: 177213.06167
If we take 1589 away from 1680, we end up with 91.
Since there are no more digits in the dividend, we add a zero to the remainder making it 910, and continue the process.

Let's proceed to step 14:
227 can be fit into 910 4 times, resulting in a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 177213.061674
Subtracting 908 from 910 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.

Step 15:
20 divided by 227 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 177213.061674
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 16:
When dividing 200 by 227, we get 0 with a remainder of 200.
The number 0 becomes the next digit in our result. 
Result so far: 177213.061674
If we take 0 away from 200, we end up with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

The quotient of the division is 177213.061674, and the remainder is 2e-07.