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

Advancing to step 1:
3 divided by 64 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 64

Let's proceed to step 2:
The number 64 fits into 39 0 times, leaving a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Bring next digit (9) of the dividend behind the 39 and repeat the process: 399 / 64

Going ahead to step 3:
64 can be fit into 399 6 times, resulting in a remainder of 15.
Use 6 as the next digit of our solution. 
Result so far: 6.0
If we take 384 away from 399, we end up with 15.
Bring next digit (7) of the dividend behind the 15 and repeat the process: 157 / 64

Step 4:
When dividing 157 by 64, we get 2 with a remainder of 29.
Record the quotient 2 as the next digit in the result. 
Result so far: 62.0
If we subtract 128 from 157, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 5:
64 goes into 290 4 times with a remainder of 34.
Record the quotient 4 as the next digit in the result. 
Result so far: 62.4
The remainder is 34 after subtracting 256 from 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 6:
64 can be fit into 340 5 times, resulting in a remainder of 20.
Put 5 as the next digit of the answer. 
Result so far: 62.45
Subtracting 320 from 340 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.

Advancing to step 7:
When dividing 200 by 64, we get 3 with a remainder of 8.
Put 3 as the next digit of the answer. 
Result so far: 62.453
The remainder is 8 after subtracting 192 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 8:
If we divide 80 by 64, we get 1 and a remainder of 16.
The next digit of our result is 1. 
Result so far: 62.4531
Deduct 64 from 80 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 9:
160 divided by 64 is 2 with a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 62.45312
Subtracting 128 from 160 leaves us 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.

On to step 10:
If we divide 320 by 64, we get 5 and a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 62.453125
Subtract 320 from 320 to 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.

Advancing to step 11:
0 divided by 64 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 62.453125
Subtract 0 from 0 to 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.

Advancing to step 12:
When dividing 0 by 64, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 62.453125
Subtract 0 from 0 to 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.

After the division, we end up with 62.453125 and a remainder of 0.0.