97666640 ÷ 789 
The aim is to understand the frequency of 789 in 97666640.

Let's proceed to step 1:
The number 789 fits into 9 0 times, leaving a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 789

Moving on to step 2:
789 goes into 97 0 times with a remainder of 97.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 97 leaves us with 97.
Fetch the next digit (6) from the dividend, attach it to 97 and continue: 976 / 789

Advancing to step 3:
When dividing 976 by 789, we get 1 with a remainder of 187.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 789 from 976 to get 187.
Bring next digit (6) of the dividend behind the 187 and repeat the process: 1876 / 789

Moving on to step 4:
When dividing 1876 by 789, we get 2 with a remainder of 298.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
Deduct 1578 from 1876 and we're left with 298.
Fetch the next digit (6) from the dividend, attach it to 298 and continue: 2986 / 789

Going ahead to step 5:
The number 789 fits into 2986 3 times, leaving a remainder of 619.
Write down 3 as next digit of the result. 
Result so far: 123.0
If we take 2367 away from 2986, we end up with 619.
Fetch the next digit (6) from the dividend, attach it to 619 and continue: 6196 / 789

Step 6:
789 goes into 6196 7 times with a remainder of 673.
The number 7 becomes the next digit in our result. 
Result so far: 1237.0
Subtract 5523 from 6196 to get 673.
Fetch the next digit (4) from the dividend, attach it to 673 and continue: 6734 / 789

Let's proceed to step 7:
The number 789 fits into 6734 8 times, leaving a remainder of 422.
Put 8 as the next digit of the answer. 
Result so far: 12378.0
Deduct 6312 from 6734 and we're left with 422.
Grab the next digit (0) from the dividend, add it to 422, then carry on: 4220 / 789

Step 8:
The number 789 fits into 4220 5 times, leaving a remainder of 275.
The next digit of our result is 5. 
Result so far: 123785.0
Subtract 3945 from 4220 to get 275.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2750, and continue the process.

Going ahead to step 9:
When dividing 2750 by 789, we get 3 with a remainder of 383.
Write down 3 as next digit of the result. 
Result so far: 123785.3
The remainder is 383 after subtracting 2367 from 2750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3830, and continue the process.

On to step 10:
789 can be fit into 3830 4 times, resulting in a remainder of 674.
Put 4 as the next digit of the answer. 
Result so far: 123785.34
If we subtract 3156 from 3830, we get 674.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6740, and continue the process.

On to step 11:
If we divide 6740 by 789, we get 8 and a remainder of 428.
Write down 8 as next digit of the result. 
Result so far: 123785.348
If we subtract 6312 from 6740, we get 428.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4280, and continue the process.

Going ahead to step 12:
789 can be fit into 4280 5 times, resulting in a remainder of 335.
Write down 5 as next digit of the result. 
Result so far: 123785.3485
The remainder is 335 after subtracting 3945 from 4280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3350, and continue the process.

Moving on to step 13:
The number 789 fits into 3350 4 times, leaving a remainder of 194.
Put 4 as the next digit of the answer. 
Result so far: 123785.34854
Subtracting 3156 from 3350 leaves us with 194.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1940, and continue the process.

On to step 14:
789 goes into 1940 2 times with a remainder of 362.
Use 2 as the next digit of our solution. 
Result so far: 123785.348542
If we subtract 1578 from 1940, we get 362.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3620, and continue the process.

Let's proceed to step 15:
If we divide 3620 by 789, we get 4 and a remainder of 464.
Use 4 as the next digit of our solution. 
Result so far: 123785.3485424
The remainder is 464 after subtracting 3156 from 3620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

Advancing to step 16:
4640 divided by 789 is 5 with a remainder of 695.
Put 5 as the next digit of the answer. 
Result so far: 123785.34854245
The remainder is 695 after subtracting 3945 from 4640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6950, and continue the process.

The final result is 123785.34854245 with a remainder of 6.95e-07.