Let's divide 9666586 by 767
The aim is to understand the frequency of 767 in 9666586.

On to step 1:
767 goes into 9 0 times with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Fetch the next digit (6) from the dividend, attach it to 9 and continue: 96 / 767

Let's proceed to step 2:
When dividing 96 by 767, we get 0 with a remainder of 96.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 96, we end up with 96.
Grab the next digit (6) from the dividend, add it to 96, then carry on: 966 / 767

Step 3:
If we divide 966 by 767, we get 1 and a remainder of 199.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 767 away from 966, we end up with 199.
Include the next digit (6) from the dividend after 199, then repeat: 1996 / 767

Let's proceed to step 4:
When dividing 1996 by 767, we get 2 with a remainder of 462.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
If we subtract 1534 from 1996, we get 462.
Fetch the next digit (5) from the dividend, attach it to 462 and continue: 4625 / 767

Going ahead to step 5:
The number 767 fits into 4625 6 times, leaving a remainder of 23.
The number 6 becomes the next digit in our result. 
Result so far: 126.0
Subtract 4602 from 4625 to get 23.
Include the next digit (8) from the dividend after 23, then repeat: 238 / 767

Moving on to step 6:
238 divided by 767 is 0 with a remainder of 238.
Put 0 as the next digit of the answer. 
Result so far: 1260.0
If we subtract 0 from 238, we get 238.
Take the next digit (6) from the dividend and append it to 238, then repeat: 2386 / 767

On to step 7:
When dividing 2386 by 767, we get 3 with a remainder of 85.
Use 3 as the next digit of our solution. 
Result so far: 12603.0
If we take 2301 away from 2386, we end up with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Advancing to step 8:
If we divide 850 by 767, we get 1 and a remainder of 83.
Put 1 as the next digit of the answer. 
Result so far: 12603.1
Subtract 767 from 850 to get 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Going ahead to step 9:
830 divided by 767 is 1 with a remainder of 63.
The next digit of our result is 1. 
Result so far: 12603.11
The remainder is 63 after subtracting 767 from 830.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Our division results in 12603.11 with a remaining 0.063.