40789696 divided by 222 
Our goal is to divide 40789696 by 222.

Let's proceed to step 1:
The number 222 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
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 222

Moving on to step 2:
222 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Append the next digit (7) from the dividend to 40 and continue with: 407 / 222

Step 3:
The number 222 fits into 407 1 times, leaving a remainder of 185.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 185 after subtracting 222 from 407.
Bring next digit (8) of the dividend behind the 185 and repeat the process: 1858 / 222

On to step 4:
222 can be fit into 1858 8 times, resulting in a remainder of 82.
The next digit of our result is 8. 
Result so far: 18.0
If we subtract 1776 from 1858, we get 82.
Grab the next digit (9) from the dividend, add it to 82, then carry on: 829 / 222

Advancing to step 5:
If we divide 829 by 222, we get 3 and a remainder of 163.
Record the quotient 3 as the next digit in the result. 
Result so far: 183.0
Subtract 666 from 829 to get 163.
Take the next digit (6) from the dividend and append it to 163, then repeat: 1636 / 222

Step 6:
If we divide 1636 by 222, we get 7 and a remainder of 82.
Write down 7 as next digit of the result. 
Result so far: 1837.0
If we subtract 1554 from 1636, we get 82.
Append the next digit (9) from the dividend to 82 and continue with: 829 / 222

Going ahead to step 7:
If we divide 829 by 222, we get 3 and a remainder of 163.
Use 3 as the next digit of our solution. 
Result so far: 18373.0
Deduct 666 from 829 and we're left with 163.
Append the next digit (6) from the dividend to 163 and continue with: 1636 / 222

Let's proceed to step 8:
222 goes into 1636 7 times with a remainder of 82.
Put 7 as the next digit of the answer. 
Result so far: 183737.0
If we take 1554 away from 1636, we end up with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Advancing to step 9:
When dividing 820 by 222, we get 3 with a remainder of 154.
Use 3 as the next digit of our solution. 
Result so far: 183737.3
If we subtract 666 from 820, we get 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Let's proceed to step 10:
222 can be fit into 1540 6 times, resulting in a remainder of 208.
Record the quotient 6 as the next digit in the result. 
Result so far: 183737.36
Subtracting 1332 from 1540 leaves us with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Advancing to step 11:
222 can be fit into 2080 9 times, resulting in a remainder of 82.
Use 9 as the next digit of our solution. 
Result so far: 183737.369
Deduct 1998 from 2080 and we're left with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Step 12:
If we divide 820 by 222, we get 3 and a remainder of 154.
Record the quotient 3 as the next digit in the result. 
Result so far: 183737.3693
If we take 666 away from 820, we end up with 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Moving on to step 13:
222 can be fit into 1540 6 times, resulting in a remainder of 208.
Write down 6 as next digit of the result. 
Result so far: 183737.36936
If we subtract 1332 from 1540, we get 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Let's proceed to step 14:
When dividing 2080 by 222, we get 9 with a remainder of 82.
Put 9 as the next digit of the answer. 
Result so far: 183737.369369
If we subtract 1998 from 2080, we get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Let's proceed to step 15:
222 goes into 820 3 times with a remainder of 154.
The next digit of our result is 3. 
Result so far: 183737.3693693
If we take 666 away from 820, we end up with 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Let's proceed to step 16:
The number 222 fits into 1540 6 times, leaving a remainder of 208.
Record the quotient 6 as the next digit in the result. 
Result so far: 183737.36936936
If we subtract 1332 from 1540, we get 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

The quotient of the division is 183737.36936936, and the remainder is 2.08e-07.