We divide 845271 by 21
We're looking to find how many times 21 goes into 845271.

Moving on 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
Subtracting 0 from 8 leaves us with 8.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 21

Going ahead to step 2:
84 divided by 21 is 4 with a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we subtract 84 from 84, we get 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 21

On to step 3:
5 divided by 21 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 40.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 21

Let's proceed to step 4:
21 goes into 52 2 times with a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 402.0
If we take 42 away from 52, we end up with 10.
Take the next digit (7) from the dividend and append it to 10, then repeat: 107 / 21

Step 5:
When dividing 107 by 21, we get 5 with a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 4025.0
Deduct 105 from 107 and we're left with 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 21

Going ahead to step 6:
21 can be fit into 21 1 times, resulting in a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 40251.0
Subtracting 21 from 21 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
The number 21 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 40251.0
The remainder is 0 after subtracting 0 from 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 8:
21 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 40251.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 40251.0 with a remaining 0.0.