We look at the division of 797316 by 30 
The aim is to understand the frequency of 30 in 797316.

Going ahead to step 1:
When dividing 7 by 30, we get 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 30

Moving on to step 2:
79 divided by 30 is 2 with a remainder of 19.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 60 from 79, we get 19.
Take the next digit (7) from the dividend and append it to 19, then repeat: 197 / 30

Advancing to step 3:
The number 30 fits into 197 6 times, leaving a remainder of 17.
The number 6 becomes the next digit in our result. 
Result so far: 26.0
Subtracting 180 from 197 leaves us with 17.
Include the next digit (3) from the dividend after 17, then repeat: 173 / 30

Advancing to step 4:
173 divided by 30 is 5 with a remainder of 23.
The number 5 becomes the next digit in our result. 
Result so far: 265.0
If we take 150 away from 173, we end up with 23.
Take the next digit (1) from the dividend and append it to 23, then repeat: 231 / 30

Step 5:
When dividing 231 by 30, we get 7 with a remainder of 21.
The number 7 becomes the next digit in our result. 
Result so far: 2657.0
Subtracting 210 from 231 leaves us with 21.
Fetch the next digit (6) from the dividend, attach it to 21 and continue: 216 / 30

Moving on to step 6:
216 divided by 30 is 7 with a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 26577.0
If we subtract 210 from 216, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 7:
The number 30 fits into 60 2 times, leaving a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 26577.2
If we subtract 60 from 60, we 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.

Moving on to step 8:
0 divided by 30 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 26577.2
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.

Step 9:
30 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 26577.2
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 26577.2 with a remainder of 0.0.