Let's divide 222643 by 40
We're looking to find how many times 40 goes into 222643.

Going ahead to step 1:
40 goes into 2 0 times with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 40

On to step 2:
22 divided by 40 is 0 with a remainder of 22.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 22 after subtracting 0 from 22.
Take the next digit (2) from the dividend and append it to 22, then repeat: 222 / 40

Going ahead to step 3:
40 can be fit into 222 5 times, resulting in a remainder of 22.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtracting 200 from 222 leaves us with 22.
Take the next digit (6) from the dividend and append it to 22, then repeat: 226 / 40

Advancing to step 4:
40 goes into 226 5 times with a remainder of 26.
Write down 5 as next digit of the result. 
Result so far: 55.0
If we subtract 200 from 226, we get 26.
Bring next digit (4) of the dividend behind the 26 and repeat the process: 264 / 40

Step 5:
40 goes into 264 6 times with a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 556.0
Subtract 240 from 264 to get 24.
Append the next digit (3) from the dividend to 24 and continue with: 243 / 40

Moving on to step 6:
40 goes into 243 6 times with a remainder of 3.
Put 6 as the next digit of the answer. 
Result so far: 5566.0
Subtract 240 from 243 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
When dividing 30 by 40, we get 0 with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 5566.0
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
40 goes into 300 7 times with a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 5566.07
Deduct 280 from 300 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.

Advancing to step 9:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 5566.075
Subtract 200 from 200 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 5566.075
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 11:
0 divided by 40 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 5566.075
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 5566.075, with a leftover of 0.0.