40727138 divided by 111 
We want to figure out the number of times 40727138 can be divided by 111.

Moving on to step 1:
The number 111 fits into 4 0 times, leaving a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 111

Let's proceed to step 2:
40 divided by 111 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Bring next digit (7) of the dividend behind the 40 and repeat the process: 407 / 111

Moving on to step 3:
407 divided by 111 is 3 with a remainder of 74.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 333 from 407 and we're left with 74.
Take the next digit (2) from the dividend and append it to 74, then repeat: 742 / 111

Let's proceed to step 4:
If we divide 742 by 111, we get 6 and a remainder of 76.
Write down 6 as next digit of the result. 
Result so far: 36.0
If we subtract 666 from 742, we get 76.
Take the next digit (7) from the dividend and append it to 76, then repeat: 767 / 111

Let's proceed to step 5:
If we divide 767 by 111, we get 6 and a remainder of 101.
Put 6 as the next digit of the answer. 
Result so far: 366.0
If we take 666 away from 767, we end up with 101.
Fetch the next digit (1) from the dividend, attach it to 101 and continue: 1011 / 111

Let's proceed to step 6:
If we divide 1011 by 111, we get 9 and a remainder of 12.
The number 9 becomes the next digit in our result. 
Result so far: 3669.0
Subtracting 999 from 1011 leaves us with 12.
Fetch the next digit (3) from the dividend, attach it to 12 and continue: 123 / 111

Advancing to step 7:
111 can be fit into 123 1 times, resulting in a remainder of 12.
The next digit of our result is 1. 
Result so far: 36691.0
Deduct 111 from 123 and we're left with 12.
Take the next digit (8) from the dividend and append it to 12, then repeat: 128 / 111

Step 8:
111 can be fit into 128 1 times, resulting in a remainder of 17.
Record the quotient 1 as the next digit in the result. 
Result so far: 366911.0
If we take 111 away from 128, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 9:
When dividing 170 by 111, we get 1 with a remainder of 59.
Write down 1 as next digit of the result. 
Result so far: 366911.1
Deduct 111 from 170 and we're left with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Advancing to step 10:
111 goes into 590 5 times with a remainder of 35.
The next digit of our result is 5. 
Result so far: 366911.15
If we take 555 away from 590, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 11:
The number 111 fits into 350 3 times, leaving a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 366911.153
If we subtract 333 from 350, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 12:
170 divided by 111 is 1 with a remainder of 59.
Record the quotient 1 as the next digit in the result. 
Result so far: 366911.1531
If we subtract 111 from 170, we get 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Going ahead to step 13:
If we divide 590 by 111, we get 5 and a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 366911.15315
If we subtract 555 from 590, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Let's proceed to step 14:
When dividing 350 by 111, we get 3 with a remainder of 17.
Write down 3 as next digit of the result. 
Result so far: 366911.153153
If we subtract 333 from 350, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 15:
111 goes into 170 1 times with a remainder of 59.
Put 1 as the next digit of the answer. 
Result so far: 366911.1531531
Subtracting 111 from 170 leaves us with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Let's proceed to step 16:
111 can be fit into 590 5 times, resulting in a remainder of 35.
The next digit of our result is 5. 
Result so far: 366911.15315315
Subtracting 555 from 590 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

The quotient of the division is 366911.15315315, and the remainder is 3.5e-08.