We're dividing 21821 by 42 
Let's see how many times 42 fits into 21821.

Advancing to step 1:
2 divided by 42 is 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 42

Going ahead to step 2:
42 can be fit into 21 0 times, resulting in a remainder of 21.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 21 to get 21.
Bring next digit (8) of the dividend behind the 21 and repeat the process: 218 / 42

On to step 3:
The number 42 fits into 218 5 times, leaving a remainder of 8.
The next digit of our result is 5. 
Result so far: 5.0
Subtract 210 from 218 to get 8.
Include the next digit (2) from the dividend after 8, then repeat: 82 / 42

Going ahead to step 4:
The number 42 fits into 82 1 times, leaving a remainder of 40.
Write down 1 as next digit of the result. 
Result so far: 51.0
Deduct 42 from 82 and we're left with 40.
Fetch the next digit (1) from the dividend, attach it to 40 and continue: 401 / 42

Let's proceed to step 5:
The number 42 fits into 401 9 times, leaving a remainder of 23.
Write down 9 as next digit of the result. 
Result so far: 519.0
If we take 378 away from 401, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 6:
230 divided by 42 is 5 with a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 519.5
If we subtract 210 from 230, we 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.

Let's proceed to step 7:
If we divide 200 by 42, we get 4 and a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 519.54
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.

Step 8:
320 divided by 42 is 7 with a remainder of 26.
Use 7 as the next digit of our solution. 
Result so far: 519.547
If we subtract 294 from 320, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 9:
When dividing 260 by 42, we get 6 with a remainder of 8.
The next digit of our result is 6. 
Result so far: 519.5476
Subtracting 252 from 260 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.

Going ahead to step 10:
80 divided by 42 is 1 with a remainder of 38.
The next digit of our result is 1. 
Result so far: 519.54761
Deduct 42 from 80 and we're left 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.

Let's proceed to step 11:
380 divided by 42 is 9 with a remainder of 2.
The next digit of our result is 9. 
Result so far: 519.547619
If we take 378 away from 380, we end up 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 12:
42 can be fit into 20 0 times, resulting in a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 519.547619
Deduct 0 from 20 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 13:
42 can be fit into 200 4 times, resulting in a remainder of 32.
The next digit of our result is 4. 
Result so far: 519.54761904
The remainder is 32 after subtracting 168 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

After the division, we end up with 519.54761904 and a remainder of 3.2e-08.