We look at the division of 398066 by 65 
The aim is to understand the frequency of 65 in 398066.

On to step 1:
65 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 65

Advancing to step 2:
65 can be fit into 39 0 times, resulting in a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Append the next digit (8) from the dividend to 39 and continue with: 398 / 65

Let's proceed to step 3:
When dividing 398 by 65, we get 6 with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 6.0
Subtract 390 from 398 to get 8.
Take the next digit (0) from the dividend and append it to 8, then repeat: 80 / 65

Let's proceed to step 4:
65 can be fit into 80 1 times, resulting in a remainder of 15.
Put 1 as the next digit of the answer. 
Result so far: 61.0
Subtract 65 from 80 to get 15.
Append the next digit (6) from the dividend to 15 and continue with: 156 / 65

Going ahead to step 5:
If we divide 156 by 65, we get 2 and a remainder of 26.
Put 2 as the next digit of the answer. 
Result so far: 612.0
Subtract 130 from 156 to get 26.
Append the next digit (6) from the dividend to 26 and continue with: 266 / 65

Moving on to step 6:
When dividing 266 by 65, we get 4 with a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 6124.0
Deduct 260 from 266 and we're left with 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:
60 divided by 65 is 0 with a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 6124.0
The remainder is 60 after subtracting 0 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Moving on to step 8:
65 can be fit into 600 9 times, resulting in a remainder of 15.
Write down 9 as next digit of the result. 
Result so far: 6124.09
If we take 585 away from 600, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 9:
65 can be fit into 150 2 times, resulting in a remainder of 20.
The next digit of our result is 2. 
Result so far: 6124.092
Subtract 130 from 150 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 10:
The number 65 fits into 200 3 times, leaving a remainder of 5.
Put 3 as the next digit of the answer. 
Result so far: 6124.0923
If we subtract 195 from 200, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

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

Advancing to step 12:
If we divide 500 by 65, we get 7 and a remainder of 45.
Record the quotient 7 as the next digit in the result. 
Result so far: 6124.092307
If we subtract 455 from 500, we get 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Step 13:
If we divide 450 by 65, we get 6 and a remainder of 60.
Use 6 as the next digit of our solution. 
Result so far: 6124.0923076
If we subtract 390 from 450, we get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Let's proceed to step 14:
65 can be fit into 600 9 times, resulting in a remainder of 15.
Put 9 as the next digit of the answer. 
Result so far: 6124.09230769
Subtract 585 from 600 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Our division results in 6124.09230769 with a remaining 1.5e-08.