We're dividing 22718 by 42 
We're looking to find how many times 42 goes into 22718.

On to step 1:
The number 42 fits into 2 0 times, leaving a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 42

On to step 2:
When dividing 22 by 42, we get 0 with a remainder of 22.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 22 and we're left with 22.
Fetch the next digit (7) from the dividend, attach it to 22 and continue: 227 / 42

Advancing to step 3:
227 divided by 42 is 5 with a remainder of 17.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtract 210 from 227 to get 17.
Bring next digit (1) of the dividend behind the 17 and repeat the process: 171 / 42

Let's proceed to step 4:
If we divide 171 by 42, we get 4 and a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 54.0
The remainder is 3 after subtracting 168 from 171.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 42

Step 5:
If we divide 38 by 42, we get 0 and a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 540.0
If we subtract 0 from 38, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 6:
380 divided by 42 is 9 with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 540.9
Deduct 378 from 380 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 7:
If we divide 20 by 42, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 540.9
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
The number 42 fits into 200 4 times, leaving a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 540.904
If we subtract 168 from 200, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 9:
If we divide 320 by 42, we get 7 and a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 540.9047
If we take 294 away from 320, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 10:
260 divided by 42 is 6 with a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 540.90476
If we take 252 away from 260, 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 11:
The number 42 fits into 80 1 times, leaving a remainder of 38.
The next digit of our result is 1. 
Result so far: 540.904761
Subtracting 42 from 80 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 12:
If we divide 380 by 42, we get 9 and a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 540.9047619
Deduct 378 from 380 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 13:
The number 42 fits into 20 0 times, leaving a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 540.9047619
If we take 0 away from 20, we end up 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.

The quotient of the division is 540.9047619, and the remainder is 2e-08.