842347 divided by 21 
We want to divide 842347 by 21.

Step 1:
21 can be fit into 8 0 times, resulting in a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 21

Moving on to step 2:
21 can be fit into 84 4 times, resulting in a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 84 from 84 leaves us with 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 21

Advancing to step 3:
If we divide 2 by 21, we get 0 and a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 40.0
Subtracting 0 from 2 leaves us with 2.
Fetch the next digit (3) from the dividend, attach it to 2 and continue: 23 / 21

Moving on to step 4:
21 can be fit into 23 1 times, resulting in a remainder of 2.
The next digit of our result is 1. 
Result so far: 401.0
If we subtract 21 from 23, we get 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 21

Going ahead to step 5:
When dividing 24 by 21, we get 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 4011.0
Deduct 21 from 24 and we're left with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 21

Moving on to step 6:
21 can be fit into 37 1 times, resulting in a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 40111.0
If we subtract 21 from 37, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 7:
21 can be fit into 160 7 times, resulting in a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 40111.7
Subtracting 147 from 160 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 8:
21 goes into 130 6 times with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 40111.76
If we subtract 126 from 130, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 9:
21 goes into 40 1 times with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 40111.761
Deduct 21 from 40 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 10:
If we divide 190 by 21, we get 9 and a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 40111.7619
Subtracting 189 from 190 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 11:
10 divided by 21 is 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 40111.7619
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 12:
100 divided by 21 is 4 with a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 40111.761904
Subtracting 84 from 100 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 13:
21 goes into 160 7 times with a remainder of 13.
The next digit of our result is 7. 
Result so far: 40111.7619047
The remainder is 13 after subtracting 147 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 14:
When dividing 130 by 21, we get 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 40111.76190476
Deduct 126 from 130 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

After the division, we end up with 40111.76190476 and a remainder of 4e-09.