We look at the division of 8229002 by 221 
The aim is to understand the frequency of 221 in 8229002.

Advancing to step 1:
The number 221 fits into 8 0 times, leaving a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Bring next digit (2) of the dividend behind the 8 and repeat the process: 82 / 221

On to step 2:
221 goes into 82 0 times with a remainder of 82.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 82 and we're left with 82.
Grab the next digit (2) from the dividend, add it to 82, then carry on: 822 / 221

Let's proceed to step 3:
If we divide 822 by 221, we get 3 and a remainder of 159.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we take 663 away from 822, we end up with 159.
Grab the next digit (9) from the dividend, add it to 159, then carry on: 1599 / 221

Going ahead to step 4:
221 goes into 1599 7 times with a remainder of 52.
Use 7 as the next digit of our solution. 
Result so far: 37.0
Deduct 1547 from 1599 and we're left with 52.
Append the next digit (0) from the dividend to 52 and continue with: 520 / 221

Let's proceed to step 5:
221 goes into 520 2 times with a remainder of 78.
The number 2 becomes the next digit in our result. 
Result so far: 372.0
Subtract 442 from 520 to get 78.
Grab the next digit (0) from the dividend, add it to 78, then carry on: 780 / 221

Let's proceed to step 6:
221 can be fit into 780 3 times, resulting in a remainder of 117.
The next digit of our result is 3. 
Result so far: 3723.0
If we take 663 away from 780, we end up with 117.
Fetch the next digit (2) from the dividend, attach it to 117 and continue: 1172 / 221

Let's proceed to step 7:
1172 divided by 221 is 5 with a remainder of 67.
The next digit of our result is 5. 
Result so far: 37235.0
If we subtract 1105 from 1172, we get 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Let's proceed to step 8:
221 goes into 670 3 times with a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 37235.3
The remainder is 7 after subtracting 663 from 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 9:
221 goes into 70 0 times with a remainder of 70.
Record the quotient 0 as the next digit in the result. 
Result so far: 37235.3
If we take 0 away from 70, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Advancing to step 10:
221 goes into 700 3 times with a remainder of 37.
Write down 3 as next digit of the result. 
Result so far: 37235.303
If we subtract 663 from 700, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 11:
370 divided by 221 is 1 with a remainder of 149.
The next digit of our result is 1. 
Result so far: 37235.3031
If we subtract 221 from 370, we get 149.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1490, and continue the process.

Going ahead to step 12:
The number 221 fits into 1490 6 times, leaving a remainder of 164.
Write down 6 as next digit of the result. 
Result so far: 37235.30316
The remainder is 164 after subtracting 1326 from 1490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Step 13:
1640 divided by 221 is 7 with a remainder of 93.
The number 7 becomes the next digit in our result. 
Result so far: 37235.303167
Deduct 1547 from 1640 and we're left with 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

Going ahead to step 14:
221 goes into 930 4 times with a remainder of 46.
The next digit of our result is 4. 
Result so far: 37235.3031674
Deduct 884 from 930 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Let's proceed to step 15:
The number 221 fits into 460 2 times, leaving a remainder of 18.
The next digit of our result is 2. 
Result so far: 37235.30316742
If we subtract 442 from 460, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The quotient of the division is 37235.30316742, and the remainder is 1.8e-08.