We divide 984789 by 21
The aim is to understand the frequency of 21 in 984789.

Let's proceed to step 1:
The number 21 fits into 9 0 times, leaving a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 21

Let's proceed to step 2:
98 divided by 21 is 4 with a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we subtract 84 from 98, we get 14.
Bring next digit (4) of the dividend behind the 14 and repeat the process: 144 / 21

Going ahead to step 3:
If we divide 144 by 21, we get 6 and a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 46.0
Deduct 126 from 144 and we're left with 18.
Take the next digit (7) from the dividend and append it to 18, then repeat: 187 / 21

Going ahead to step 4:
If we divide 187 by 21, we get 8 and a remainder of 19.
Record the quotient 8 as the next digit in the result. 
Result so far: 468.0
Subtract 168 from 187 to get 19.
Take the next digit (8) from the dividend and append it to 19, then repeat: 198 / 21

Step 5:
The number 21 fits into 198 9 times, leaving a remainder of 9.
Record the quotient 9 as the next digit in the result. 
Result so far: 4689.0
Deduct 189 from 198 and we're left with 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 21

Moving on to step 6:
The number 21 fits into 99 4 times, leaving a remainder of 15.
Write down 4 as next digit of the result. 
Result so far: 46894.0
Subtracting 84 from 99 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 7:
The number 21 fits into 150 7 times, leaving a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 46894.7
Subtract 147 from 150 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 8:
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: 46894.71
If we take 21 away from 30, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 9:
21 can be fit into 90 4 times, resulting in a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 46894.714
If we subtract 84 from 90, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 10:
The number 21 fits into 60 2 times, leaving a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 46894.7142
If we take 42 away from 60, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 11:
21 can be fit into 180 8 times, resulting in a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 46894.71428
The remainder is 12 after subtracting 168 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 12:
21 can be fit into 120 5 times, resulting in a remainder of 15.
The next digit of our result is 5. 
Result so far: 46894.714285
The remainder is 15 after subtracting 105 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 13:
21 can be fit into 150 7 times, resulting in a remainder of 3.
The next digit of our result is 7. 
Result so far: 46894.7142857
Deduct 147 from 150 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 14:
If we divide 30 by 21, we get 1 and a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 46894.71428571
Subtracting 21 from 30 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The final outcome is 46894.71428571, with a leftover of 9e-09.