We're dividing 872874 by 22 
The aim is to understand the frequency of 22 in 872874.

Let's proceed to step 1:
When dividing 8 by 22, we get 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 22

Advancing to step 2:
22 goes into 87 3 times with a remainder of 21.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 21 after subtracting 66 from 87.
Bring next digit (2) of the dividend behind the 21 and repeat the process: 212 / 22

Step 3:
212 divided by 22 is 9 with a remainder of 14.
Write down 9 as next digit of the result. 
Result so far: 39.0
Deduct 198 from 212 and we're left with 14.
Bring next digit (8) of the dividend behind the 14 and repeat the process: 148 / 22

On to step 4:
If we divide 148 by 22, we get 6 and a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 396.0
If we subtract 132 from 148, we get 16.
Bring next digit (7) of the dividend behind the 16 and repeat the process: 167 / 22

Step 5:
22 can be fit into 167 7 times, resulting in a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 3967.0
The remainder is 13 after subtracting 154 from 167.
Append the next digit (4) from the dividend to 13 and continue with: 134 / 22

Let's proceed to step 6:
134 divided by 22 is 6 with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 39676.0
If we take 132 away from 134, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
If we divide 20 by 22, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 39676.0
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
200 divided by 22 is 9 with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 39676.09
Deduct 198 from 200 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 9:
The number 22 fits into 20 0 times, leaving a remainder of 20.
The next digit of our result is 0. 
Result so far: 39676.09
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 10:
22 can be fit into 200 9 times, resulting in a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 39676.0909
Subtracting 198 from 200 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 11:
20 divided by 22 is 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 39676.0909
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 12:
22 can be fit into 200 9 times, resulting in a remainder of 2.
The next digit of our result is 9. 
Result so far: 39676.090909
Deduct 198 from 200 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 13:
22 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 39676.090909
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 14:
200 divided by 22 is 9 with a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 39676.09090909
Deduct 198 from 200 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 39676.09090909, with a leftover of 2e-09.