Let's divide 584797 by 21
Our goal is to divide 584797 by 21.

Moving on to step 1:
21 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 21

Advancing to step 2:
If we divide 58 by 21, we get 2 and a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 16 after subtracting 42 from 58.
Grab the next digit (4) from the dividend, add it to 16, then carry on: 164 / 21

On to step 3:
If we divide 164 by 21, we get 7 and a remainder of 17.
The next digit of our result is 7. 
Result so far: 27.0
Subtracting 147 from 164 leaves us with 17.
Fetch the next digit (7) from the dividend, attach it to 17 and continue: 177 / 21

Moving on to step 4:
177 divided by 21 is 8 with a remainder of 9.
The next digit of our result is 8. 
Result so far: 278.0
If we subtract 168 from 177, we get 9.
Take the next digit (9) from the dividend and append it to 9, then repeat: 99 / 21

On to step 5:
If we divide 99 by 21, we get 4 and a remainder of 15.
The number 4 becomes the next digit in our result. 
Result so far: 2784.0
Subtracting 84 from 99 leaves us with 15.
Fetch the next digit (7) from the dividend, attach it to 15 and continue: 157 / 21

Going ahead to step 6:
The number 21 fits into 157 7 times, leaving a remainder of 10.
Use 7 as the next digit of our solution. 
Result so far: 27847.0
Deduct 147 from 157 and we're left 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 7:
The number 21 fits into 100 4 times, leaving a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 27847.4
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.

Moving on to step 8:
160 divided by 21 is 7 with a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 27847.47
Subtract 147 from 160 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 9:
21 goes into 130 6 times with a remainder of 4.
The next digit of our result is 6. 
Result so far: 27847.476
If we take 126 away from 130, we end up 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.

Advancing to step 10:
The number 21 fits into 40 1 times, leaving a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 27847.4761
Subtracting 21 from 40 leaves us 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.

Going ahead to step 11:
21 can be fit into 190 9 times, resulting in a remainder of 1.
The next digit of our result is 9. 
Result so far: 27847.47619
Deduct 189 from 190 and we're left 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 12:
21 can be fit into 10 0 times, resulting in a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 27847.47619
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 13:
100 divided by 21 is 4 with a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 27847.4761904
Deduct 84 from 100 and we're left 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 14:
21 can be fit into 160 7 times, resulting in a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 27847.47619047
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.

The final result is 27847.47619047 with a remainder of 1.3e-08.