We're dividing 40747864 by 22 
We want to divide 40747864 by 22.

Moving on to step 1:
When dividing 4 by 22, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 22

Moving on to step 2:
22 can be fit into 40 1 times, resulting in a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 22 from 40, we get 18.
Grab the next digit (7) from the dividend, add it to 18, then carry on: 187 / 22

On to step 3:
If we divide 187 by 22, we get 8 and a remainder of 11.
Put 8 as the next digit of the answer. 
Result so far: 18.0
Subtracting 176 from 187 leaves us with 11.
Fetch the next digit (4) from the dividend, attach it to 11 and continue: 114 / 22

Step 4:
If we divide 114 by 22, we get 5 and a remainder of 4.
The number 5 becomes the next digit in our result. 
Result so far: 185.0
Subtract 110 from 114 to get 4.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 22

Going ahead to step 5:
If we divide 47 by 22, we get 2 and a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 1852.0
Subtract 44 from 47 to get 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 22

Moving on to step 6:
38 divided by 22 is 1 with a remainder of 16.
Record the quotient 1 as the next digit in the result. 
Result so far: 18521.0
Deduct 22 from 38 and we're left with 16.
Append the next digit (6) from the dividend to 16 and continue with: 166 / 22

Moving on to step 7:
166 divided by 22 is 7 with a remainder of 12.
Use 7 as the next digit of our solution. 
Result so far: 185217.0
If we subtract 154 from 166, we get 12.
Take the next digit (4) from the dividend and append it to 12, then repeat: 124 / 22

Moving on to step 8:
22 can be fit into 124 5 times, resulting in a remainder of 14.
Use 5 as the next digit of our solution. 
Result so far: 1852175.0
The remainder is 14 after subtracting 110 from 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 9:
If we divide 140 by 22, we get 6 and a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 1852175.6
Subtracting 132 from 140 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 10:
22 can be fit into 80 3 times, resulting in a remainder of 14.
The number 3 becomes the next digit in our result. 
Result so far: 1852175.63
If we take 66 away from 80, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 11:
22 can be fit into 140 6 times, resulting in a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 1852175.636
If we take 132 away from 140, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 12:
22 can be fit into 80 3 times, resulting in a remainder of 14.
Record the quotient 3 as the next digit in the result. 
Result so far: 1852175.6363
If we take 66 away from 80, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 13:
If we divide 140 by 22, we get 6 and a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 1852175.63636
Deduct 132 from 140 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 14:
The number 22 fits into 80 3 times, leaving a remainder of 14.
The number 3 becomes the next digit in our result. 
Result so far: 1852175.636363
Deduct 66 from 80 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 15:
The number 22 fits into 140 6 times, leaving a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 1852175.6363636
If we take 132 away from 140, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 16:
22 can be fit into 80 3 times, resulting in a remainder of 14.
The next digit of our result is 3. 
Result so far: 1852175.63636363
Deduct 66 from 80 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The quotient of the division is 1852175.63636363, and the remainder is 1.4e-08.