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

Let's proceed to step 1:
8 divided by 22 is 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Grab the next digit (4) from the dividend, add it to 8, then carry on: 84 / 22

Moving on to step 2:
When dividing 84 by 22, we get 3 with a remainder of 18.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we take 66 away from 84, we end up with 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
If we take 176 away from 180, we end up with 4.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 22

Advancing to step 4:
22 goes into 47 2 times with a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 382.0
Deduct 44 from 47 and we're left with 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 22

Let's proceed to step 5:
33 divided by 22 is 1 with a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 3821.0
Deduct 22 from 33 and we're left with 11.
Bring next digit (2) of the dividend behind the 11 and repeat the process: 112 / 22

Advancing to step 6:
When dividing 112 by 22, we get 5 with a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 38215.0
The remainder is 2 after subtracting 110 from 112.
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 7:
22 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 38215.0
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 8:
200 divided by 22 is 9 with a remainder of 2.
The next digit of our result is 9. 
Result so far: 38215.09
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.

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: 38215.09
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.

Advancing to step 10:
If we divide 200 by 22, we get 9 and a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 38215.0909
The remainder is 2 after subtracting 198 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 11:
When dividing 20 by 22, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 38215.0909
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.

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

Let's proceed to step 13:
If we divide 20 by 22, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 38215.090909
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 14:
22 goes into 200 9 times with a remainder of 2.
The next digit of our result is 9. 
Result so far: 38215.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 result is 38215.09090909 with a remainder of 2e-09.