840367 divided by 22 
The aim is to understand the frequency of 22 in 840367.

Let's proceed to step 1:
22 goes into 8 0 times 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.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 22

Moving on to step 2:
The number 22 fits into 84 3 times, leaving a remainder of 18.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtract 66 from 84 to get 18.
Take the next digit (0) from the dividend and append it to 18, then repeat: 180 / 22

Step 3:
22 goes into 180 8 times with a remainder of 4.
The next digit of our result is 8. 
Result so far: 38.0
Subtract 176 from 180 to get 4.
Append the next digit (3) from the dividend to 4 and continue with: 43 / 22

Let's proceed to step 4:
When dividing 43 by 22, we get 1 with a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 381.0
If we subtract 22 from 43, we get 21.
Include the next digit (6) from the dividend after 21, then repeat: 216 / 22

Step 5:
When dividing 216 by 22, we get 9 with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 3819.0
Subtracting 198 from 216 leaves us with 18.
Take the next digit (7) from the dividend and append it to 18, then repeat: 187 / 22

Step 6:
22 can be fit into 187 8 times, resulting in a remainder of 11.
Put 8 as the next digit of the answer. 
Result so far: 38198.0
If we subtract 176 from 187, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 7:
If we divide 110 by 22, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 38198.5
Subtracting 110 from 110 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
If we divide 0 by 22, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 38198.5
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
When dividing 0 by 22, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 38198.5
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 38198.5 with a remaining 0.0.