Let's divide 870545 by 21
Let's see how many times 21 fits into 870545.

Advancing to step 1:
8 divided by 21 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 21

Let's proceed to step 2:
When dividing 87 by 21, we get 4 with a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
If we take 84 away from 87, we end up with 3.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 21

Let's proceed to step 3:
21 can be fit into 30 1 times, resulting in a remainder of 9.
The next digit of our result is 1. 
Result so far: 41.0
Subtracting 21 from 30 leaves us with 9.
Fetch the next digit (5) from the dividend, attach it to 9 and continue: 95 / 21

Going ahead to step 4:
21 can be fit into 95 4 times, resulting in a remainder of 11.
Write down 4 as next digit of the result. 
Result so far: 414.0
Subtracting 84 from 95 leaves us with 11.
Grab the next digit (4) from the dividend, add it to 11, then carry on: 114 / 21

Step 5:
The number 21 fits into 114 5 times, leaving a remainder of 9.
Use 5 as the next digit of our solution. 
Result so far: 4145.0
Subtract 105 from 114 to get 9.
Fetch the next digit (5) from the dividend, attach it to 9 and continue: 95 / 21

Step 6:
21 can be fit into 95 4 times, resulting in a remainder of 11.
The next digit of our result is 4. 
Result so far: 41454.0
Subtracting 84 from 95 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
If we divide 110 by 21, we get 5 and a remainder of 5.
The next digit of our result is 5. 
Result so far: 41454.5
If we subtract 105 from 110, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 8:
The number 21 fits into 50 2 times, leaving a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 41454.52
Subtracting 42 from 50 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 9:
When dividing 80 by 21, we get 3 with a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 41454.523
Subtract 63 from 80 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 10:
21 can be fit into 170 8 times, resulting in a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 41454.5238
If we take 168 away from 170, 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.

Step 11:
When dividing 20 by 21, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 41454.5238
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 12:
The number 21 fits into 200 9 times, leaving a remainder of 11.
Use 9 as the next digit of our solution. 
Result so far: 41454.523809
The remainder is 11 after subtracting 189 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 13:
When dividing 110 by 21, we get 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 41454.5238095
If we take 105 away from 110, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 14:
21 can be fit into 50 2 times, resulting in a remainder of 8.
The next digit of our result is 2. 
Result so far: 41454.52380952
The remainder is 8 after subtracting 42 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

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