40922877 divided by 111 
We want to divide 40922877 by 111.

Going ahead to step 1:
111 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.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 111

Advancing to step 2:
111 goes into 40 0 times with 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.
Grab the next digit (9) from the dividend, add it to 40, then carry on: 409 / 111

Let's proceed to step 3:
The number 111 fits into 409 3 times, leaving a remainder of 76.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 76 after subtracting 333 from 409.
Include the next digit (2) from the dividend after 76, then repeat: 762 / 111

Advancing to step 4:
When dividing 762 by 111, we get 6 with a remainder of 96.
Use 6 as the next digit of our solution. 
Result so far: 36.0
The remainder is 96 after subtracting 666 from 762.
Fetch the next digit (2) from the dividend, attach it to 96 and continue: 962 / 111

Let's proceed to step 5:
962 divided by 111 is 8 with a remainder of 74.
The number 8 becomes the next digit in our result. 
Result so far: 368.0
Subtracting 888 from 962 leaves us with 74.
Append the next digit (8) from the dividend to 74 and continue with: 748 / 111

Let's proceed to step 6:
When dividing 748 by 111, we get 6 with a remainder of 82.
Record the quotient 6 as the next digit in the result. 
Result so far: 3686.0
Subtracting 666 from 748 leaves us with 82.
Include the next digit (7) from the dividend after 82, then repeat: 827 / 111

Moving on to step 7:
827 divided by 111 is 7 with a remainder of 50.
Use 7 as the next digit of our solution. 
Result so far: 36867.0
Subtracting 777 from 827 leaves us with 50.
Take the next digit (7) from the dividend and append it to 50, then repeat: 507 / 111

Advancing to step 8:
111 goes into 507 4 times with a remainder of 63.
Write down 4 as next digit of the result. 
Result so far: 368674.0
Subtract 444 from 507 to get 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Let's proceed to step 9:
111 goes into 630 5 times with a remainder of 75.
Record the quotient 5 as the next digit in the result. 
Result so far: 368674.5
Subtract 555 from 630 to get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Step 10:
111 goes into 750 6 times with a remainder of 84.
Record the quotient 6 as the next digit in the result. 
Result so far: 368674.56
Subtract 666 from 750 to get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Let's proceed to step 11:
111 goes into 840 7 times with a remainder of 63.
Write down 7 as next digit of the result. 
Result so far: 368674.567
Subtract 777 from 840 to get 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Advancing to step 12:
630 divided by 111 is 5 with a remainder of 75.
Write down 5 as next digit of the result. 
Result so far: 368674.5675
Subtract 555 from 630 to get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Step 13:
111 can be fit into 750 6 times, resulting in a remainder of 84.
Write down 6 as next digit of the result. 
Result so far: 368674.56756
Subtracting 666 from 750 leaves us with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

On to step 14:
111 goes into 840 7 times with a remainder of 63.
Record the quotient 7 as the next digit in the result. 
Result so far: 368674.567567
Deduct 777 from 840 and we're left with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Moving on to step 15:
111 goes into 630 5 times with a remainder of 75.
Use 5 as the next digit of our solution. 
Result so far: 368674.5675675
Subtract 555 from 630 to get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Let's proceed to step 16:
If we divide 750 by 111, we get 6 and a remainder of 84.
The number 6 becomes the next digit in our result. 
Result so far: 368674.56756756
Deduct 666 from 750 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

The final outcome is 368674.56756756, with a leftover of 8.4e-08.