998716 divided by 21 
The aim is to understand the frequency of 21 in 998716.

Going ahead to step 1:
21 can be fit into 9 0 times, resulting in a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Bring next digit (9) of the dividend behind the 9 and repeat the process: 99 / 21

Advancing to step 2:
21 can be fit into 99 4 times, resulting in a remainder of 15.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 84 from 99 leaves us with 15.
Include the next digit (8) from the dividend after 15, then repeat: 158 / 21

Let's proceed to step 3:
If we divide 158 by 21, we get 7 and a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 47.0
If we take 147 away from 158, we end up with 11.
Append the next digit (7) from the dividend to 11 and continue with: 117 / 21

Let's proceed to step 4:
When dividing 117 by 21, we get 5 with a remainder of 12.
Use 5 as the next digit of our solution. 
Result so far: 475.0
Subtracting 105 from 117 leaves us with 12.
Grab the next digit (1) from the dividend, add it to 12, then carry on: 121 / 21

Going ahead to step 5:
21 goes into 121 5 times with a remainder of 16.
Put 5 as the next digit of the answer. 
Result so far: 4755.0
Subtract 105 from 121 to get 16.
Append the next digit (6) from the dividend to 16 and continue with: 166 / 21

Moving on to step 6:
The number 21 fits into 166 7 times, leaving a remainder of 19.
Record the quotient 7 as the next digit in the result. 
Result so far: 47557.0
If we subtract 147 from 166, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 7:
21 goes into 190 9 times with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 47557.9
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 8:
When dividing 10 by 21, we get 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 47557.9
If we subtract 0 from 10, we 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.

Advancing to step 9:
The number 21 fits into 100 4 times, leaving a remainder of 16.
The next digit of our result is 4. 
Result so far: 47557.904
Subtract 84 from 100 to 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.

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

On to step 11:
When dividing 130 by 21, we get 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 47557.90476
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.

Advancing to step 12:
40 divided by 21 is 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 47557.904761
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 13:
21 goes into 190 9 times with a remainder of 1.
The next digit of our result is 9. 
Result so far: 47557.9047619
If we take 189 away from 190, we end up 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 14:
When dividing 10 by 21, we get 0 with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 47557.9047619
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.

The quotient of the division is 47557.9047619, and the remainder is 1e-08.