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

Going ahead to step 1:
When dividing 2 by 21, we get 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 21

On to step 2:
The number 21 fits into 29 1 times, leaving a remainder of 8.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 21 from 29 leaves us with 8.
Include the next digit (9) from the dividend after 8, then repeat: 89 / 21

Advancing to step 3:
89 divided by 21 is 4 with a remainder of 5.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
If we take 84 away from 89, we end up with 5.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 21

Moving on to step 4:
21 goes into 57 2 times with a remainder of 15.
Record the quotient 2 as the next digit in the result. 
Result so far: 142.0
Subtract 42 from 57 to get 15.
Append the next digit (9) from the dividend to 15 and continue with: 159 / 21

Moving on to step 5:
159 divided by 21 is 7 with a remainder of 12.
Record the quotient 7 as the next digit in the result. 
Result so far: 1427.0
The remainder is 12 after subtracting 147 from 159.
Take the next digit (9) from the dividend and append it to 12, then repeat: 129 / 21

Going ahead to step 6:
When dividing 129 by 21, we get 6 with a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 14276.0
If we subtract 126 from 129, we 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.

Moving on to step 7:
21 can be fit into 30 1 times, resulting in a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 14276.1
Subtract 21 from 30 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 8:
21 can be fit into 90 4 times, resulting in a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 14276.14
If we take 84 away from 90, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 9:
The number 21 fits into 60 2 times, leaving a remainder of 18.
The next digit of our result is 2. 
Result so far: 14276.142
Subtracting 42 from 60 leaves us 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.

Advancing to step 10:
21 can be fit into 180 8 times, resulting in a remainder of 12.
The next digit of our result is 8. 
Result so far: 14276.1428
If we subtract 168 from 180, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 11:
120 divided by 21 is 5 with a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 14276.14285
If we subtract 105 from 120, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 12:
If we divide 150 by 21, we get 7 and a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 14276.142857
Subtracting 147 from 150 leaves us 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.

Step 13:
The number 21 fits into 30 1 times, leaving a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 14276.1428571
The remainder is 9 after subtracting 21 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 14:
90 divided by 21 is 4 with a remainder of 6.
The next digit of our result is 4. 
Result so far: 14276.14285714
Subtracting 84 from 90 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The quotient of the division is 14276.14285714, and the remainder is 6e-09.