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

Step 1:
When dividing 2 by 21, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 21

Going ahead to step 2:
The number 21 fits into 29 1 times, leaving a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 21 from 29 to get 8.
Take the next digit (5) from the dividend and append it to 8, then repeat: 85 / 21

Advancing to step 3:
The number 21 fits into 85 4 times, leaving a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 14.0
Subtracting 84 from 85 leaves us with 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 21

On to step 4:
If we divide 12 by 21, we get 0 and a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 140.0
Deduct 0 from 12 and we're left with 12.
Bring next digit (4) of the dividend behind the 12 and repeat the process: 124 / 21

Let's proceed to step 5:
21 can be fit into 124 5 times, resulting in a remainder of 19.
Put 5 as the next digit of the answer. 
Result so far: 1405.0
Subtracting 105 from 124 leaves us with 19.
Include the next digit (2) from the dividend after 19, then repeat: 192 / 21

On to step 6:
21 goes into 192 9 times with a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 14059.0
Deduct 189 from 192 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.

Going ahead to step 7:
If we divide 30 by 21, we get 1 and a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 14059.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.

Let's proceed to step 8:
21 goes into 90 4 times with a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 14059.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:
21 can be fit into 60 2 times, resulting in a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 14059.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.

Let's proceed to step 10:
If we divide 180 by 21, we get 8 and a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 14059.1428
If we take 168 away from 180, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on 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: 14059.14285
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.

Going ahead to step 12:
21 can be fit into 150 7 times, resulting in a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 14059.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.

On to step 13:
The number 21 fits into 30 1 times, leaving a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 14059.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.

Advancing 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: 14059.14285714
The remainder is 6 after subtracting 84 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

After the division, we end up with 14059.14285714 and a remainder of 6e-09.