We look at the division of 797771 by 64 
The aim is to understand the frequency of 64 in 797771.

Advancing to step 1:
64 goes into 7 0 times with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 64

Going ahead to step 2:
If we divide 79 by 64, we get 1 and a remainder of 15.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 64 from 79, we get 15.
Bring next digit (7) of the dividend behind the 15 and repeat the process: 157 / 64

On to step 3:
If we divide 157 by 64, we get 2 and a remainder of 29.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtract 128 from 157 to get 29.
Bring next digit (7) of the dividend behind the 29 and repeat the process: 297 / 64

Advancing to step 4:
The number 64 fits into 297 4 times, leaving a remainder of 41.
The number 4 becomes the next digit in our result. 
Result so far: 124.0
The remainder is 41 after subtracting 256 from 297.
Append the next digit (7) from the dividend to 41 and continue with: 417 / 64

Step 5:
64 goes into 417 6 times with a remainder of 33.
The number 6 becomes the next digit in our result. 
Result so far: 1246.0
Deduct 384 from 417 and we're left with 33.
Bring next digit (1) of the dividend behind the 33 and repeat the process: 331 / 64

On to step 6:
64 goes into 331 5 times with a remainder of 11.
Put 5 as the next digit of the answer. 
Result so far: 12465.0
If we take 320 away from 331, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 7:
If we divide 110 by 64, we get 1 and a remainder of 46.
The number 1 becomes the next digit in our result. 
Result so far: 12465.1
Deduct 64 from 110 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Moving on to step 8:
64 goes into 460 7 times with a remainder of 12.
The number 7 becomes the next digit in our result. 
Result so far: 12465.17
Deduct 448 from 460 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 9:
64 goes into 120 1 times with a remainder of 56.
The next digit of our result is 1. 
Result so far: 12465.171
If we take 64 away from 120, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Step 10:
The number 64 fits into 560 8 times, leaving a remainder of 48.
Record the quotient 8 as the next digit in the result. 
Result so far: 12465.1718
If we subtract 512 from 560, we get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Moving on to step 11:
The number 64 fits into 480 7 times, leaving a remainder of 32.
Put 7 as the next digit of the answer. 
Result so far: 12465.17187
Deduct 448 from 480 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 12:
The number 64 fits into 320 5 times, leaving a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 12465.171875
If we take 320 away from 320, 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.

Going ahead to step 13:
The number 64 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 12465.171875
If we subtract 0 from 0, 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 14:
0 divided by 64 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 12465.171875
Subtracting 0 from 0 leaves us 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.

The final outcome is 12465.171875, with a leftover of 0.0.