We look at the division of 65022535 by 797 
The aim is to understand the frequency of 797 in 65022535.

Going ahead to step 1:
797 can be fit into 6 0 times, resulting in a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Append the next digit (5) from the dividend to 6 and continue with: 65 / 797

On to step 2:
When dividing 65 by 797, we get 0 with a remainder of 65.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 65 after subtracting 0 from 65.
Append the next digit (0) from the dividend to 65 and continue with: 650 / 797

Step 3:
650 divided by 797 is 0 with a remainder of 650.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 650 after subtracting 0 from 650.
Bring next digit (2) of the dividend behind the 650 and repeat the process: 6502 / 797

Advancing to step 4:
When dividing 6502 by 797, we get 8 with a remainder of 126.
Use 8 as the next digit of our solution. 
Result so far: 8.0
If we take 6376 away from 6502, we end up with 126.
Append the next digit (2) from the dividend to 126 and continue with: 1262 / 797

Moving on to step 5:
If we divide 1262 by 797, we get 1 and a remainder of 465.
The number 1 becomes the next digit in our result. 
Result so far: 81.0
If we subtract 797 from 1262, we get 465.
Bring next digit (5) of the dividend behind the 465 and repeat the process: 4655 / 797

Going ahead to step 6:
When dividing 4655 by 797, we get 5 with a remainder of 670.
The next digit of our result is 5. 
Result so far: 815.0
Deduct 3985 from 4655 and we're left with 670.
Append the next digit (3) from the dividend to 670 and continue with: 6703 / 797

Advancing to step 7:
797 goes into 6703 8 times with a remainder of 327.
Use 8 as the next digit of our solution. 
Result so far: 8158.0
If we take 6376 away from 6703, we end up with 327.
Bring next digit (5) of the dividend behind the 327 and repeat the process: 3275 / 797

Let's proceed to step 8:
If we divide 3275 by 797, we get 4 and a remainder of 87.
The next digit of our result is 4. 
Result so far: 81584.0
If we take 3188 away from 3275, we end up with 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 870, and continue the process.

Moving on to step 9:
If we divide 870 by 797, we get 1 and a remainder of 73.
The number 1 becomes the next digit in our result. 
Result so far: 81584.1
Subtracting 797 from 870 leaves us with 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

Moving on to step 10:
When dividing 730 by 797, we get 0 with a remainder of 730.
Write down 0 as next digit of the result. 
Result so far: 81584.1
If we take 0 away from 730, we end up with 730.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7300, and continue the process.

Step 11:
797 goes into 7300 9 times with a remainder of 127.
The next digit of our result is 9. 
Result so far: 81584.109
If we subtract 7173 from 7300, we get 127.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1270, and continue the process.

On to step 12:
797 goes into 1270 1 times with a remainder of 473.
The next digit of our result is 1. 
Result so far: 81584.1091
If we take 797 away from 1270, we end up with 473.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4730, and continue the process.

Advancing to step 13:
The number 797 fits into 4730 5 times, leaving a remainder of 745.
Record the quotient 5 as the next digit in the result. 
Result so far: 81584.10915
Subtract 3985 from 4730 to get 745.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7450, and continue the process.

Moving on to step 14:
When dividing 7450 by 797, we get 9 with a remainder of 277.
Use 9 as the next digit of our solution. 
Result so far: 81584.109159
Subtract 7173 from 7450 to get 277.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2770, and continue the process.

Advancing to step 15:
When dividing 2770 by 797, we get 3 with a remainder of 379.
The number 3 becomes the next digit in our result. 
Result so far: 81584.1091593
Subtract 2391 from 2770 to get 379.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3790, and continue the process.

Going ahead to step 16:
If we divide 3790 by 797, we get 4 and a remainder of 602.
Use 4 as the next digit of our solution. 
Result so far: 81584.10915934
If we subtract 3188 from 3790, we get 602.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6020, and continue the process.

Our division results in 81584.10915934 with a remaining 6.02e-07.