Let's divide 794257 by 22
The aim is to understand the frequency of 22 in 794257.

Advancing to step 1:
22 can be fit into 7 0 times, resulting in a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 22

Going ahead to step 2:
The number 22 fits into 79 3 times, leaving a remainder of 13.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtract 66 from 79 to get 13.
Include the next digit (4) from the dividend after 13, then repeat: 134 / 22

Moving on to step 3:
22 goes into 134 6 times with a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 36.0
The remainder is 2 after subtracting 132 from 134.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 22

Advancing to step 4:
If we divide 22 by 22, we get 1 and a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 361.0
Subtracting 22 from 22 leaves us with 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 22

Step 5:
22 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 3610.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (7) from the dividend to 5 and continue with: 57 / 22

Going ahead to step 6:
57 divided by 22 is 2 with a remainder of 13.
Use 2 as the next digit of our solution. 
Result so far: 36102.0
Subtracting 44 from 57 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 7:
If we divide 130 by 22, we get 5 and a remainder of 20.
The next digit of our result is 5. 
Result so far: 36102.5
Deduct 110 from 130 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 8:
200 divided by 22 is 9 with a remainder of 2.
The next digit of our result is 9. 
Result so far: 36102.59
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.

Advancing to step 9:
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: 36102.59
Subtracting 0 from 20 leaves us 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 10:
When dividing 200 by 22, we get 9 with a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 36102.5909
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.

Step 11:
20 divided by 22 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 36102.5909
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 12:
If we divide 200 by 22, we get 9 and a remainder of 2.
The next digit of our result is 9. 
Result so far: 36102.590909
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.

Advancing to step 13:
22 can be fit into 20 0 times, resulting in a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 36102.590909
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.

Moving on to step 14:
22 goes into 200 9 times with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 36102.59090909
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.

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