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

Advancing to step 1:
9 divided by 22 is 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 22

Going ahead to step 2:
97 divided by 22 is 4 with a remainder of 9.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtract 88 from 97 to get 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 22

On to step 3:
If we divide 97 by 22, we get 4 and a remainder of 9.
Use 4 as the next digit of our solution. 
Result so far: 44.0
If we subtract 88 from 97, we get 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 22

Step 4:
22 goes into 98 4 times with a remainder of 10.
Use 4 as the next digit of our solution. 
Result so far: 444.0
If we subtract 88 from 98, we get 10.
Include the next digit (3) from the dividend after 10, then repeat: 103 / 22

Let's proceed to step 5:
103 divided by 22 is 4 with a remainder of 15.
The number 4 becomes the next digit in our result. 
Result so far: 4444.0
The remainder is 15 after subtracting 88 from 103.
Take the next digit (1) from the dividend and append it to 15, then repeat: 151 / 22

Step 6:
151 divided by 22 is 6 with a remainder of 19.
Put 6 as the next digit of the answer. 
Result so far: 44446.0
If we subtract 132 from 151, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 7:
The number 22 fits into 190 8 times, leaving a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 44446.8
If we subtract 176 from 190, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 8:
If we divide 140 by 22, we get 6 and a remainder of 8.
The next digit of our result is 6. 
Result so far: 44446.86
If we take 132 away from 140, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 9:
When dividing 80 by 22, we get 3 with a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 44446.863
Subtract 66 from 80 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 10:
22 goes into 140 6 times with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 44446.8636
If we take 132 away from 140, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 11:
If we divide 80 by 22, we get 3 and a remainder of 14.
Record the quotient 3 as the next digit in the result. 
Result so far: 44446.86363
Subtract 66 from 80 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 12:
If we divide 140 by 22, we get 6 and a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 44446.863636
Subtracting 132 from 140 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 13:
22 can be fit into 80 3 times, resulting in a remainder of 14.
Record the quotient 3 as the next digit in the result. 
Result so far: 44446.8636363
The remainder is 14 after subtracting 66 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 14:
22 goes into 140 6 times with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 44446.86363636
Deduct 132 from 140 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 44446.86363636, and the remainder is 8e-09.