Let's divide 80074177 by 789
The aim is to understand the frequency of 789 in 80074177.

Going ahead to step 1:
The number 789 fits into 8 0 times, leaving a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Bring next digit (0) of the dividend behind the 8 and repeat the process: 80 / 789

Let's proceed to step 2:
When dividing 80 by 789, we get 0 with a remainder of 80.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 80 after subtracting 0 from 80.
Append the next digit (0) from the dividend to 80 and continue with: 800 / 789

Step 3:
789 can be fit into 800 1 times, resulting in a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 789 from 800, we get 11.
Bring next digit (7) of the dividend behind the 11 and repeat the process: 117 / 789

Going ahead to step 4:
The number 789 fits into 117 0 times, leaving a remainder of 117.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Subtracting 0 from 117 leaves us with 117.
Bring next digit (4) of the dividend behind the 117 and repeat the process: 1174 / 789

On to step 5:
When dividing 1174 by 789, we get 1 with a remainder of 385.
Record the quotient 1 as the next digit in the result. 
Result so far: 101.0
Subtracting 789 from 1174 leaves us with 385.
Take the next digit (1) from the dividend and append it to 385, then repeat: 3851 / 789

Advancing to step 6:
789 goes into 3851 4 times with a remainder of 695.
Put 4 as the next digit of the answer. 
Result so far: 1014.0
Subtract 3156 from 3851 to get 695.
Fetch the next digit (7) from the dividend, attach it to 695 and continue: 6957 / 789

Step 7:
789 goes into 6957 8 times with a remainder of 645.
The number 8 becomes the next digit in our result. 
Result so far: 10148.0
If we take 6312 away from 6957, we end up with 645.
Grab the next digit (7) from the dividend, add it to 645, then carry on: 6457 / 789

Moving on to step 8:
6457 divided by 789 is 8 with a remainder of 145.
The next digit of our result is 8. 
Result so far: 101488.0
If we subtract 6312 from 6457, we get 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Step 9:
When dividing 1450 by 789, we get 1 with a remainder of 661.
Use 1 as the next digit of our solution. 
Result so far: 101488.1
Subtract 789 from 1450 to get 661.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6610, and continue the process.

Going ahead to step 10:
789 can be fit into 6610 8 times, resulting in a remainder of 298.
The next digit of our result is 8. 
Result so far: 101488.18
If we subtract 6312 from 6610, we get 298.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2980, and continue the process.

On to step 11:
If we divide 2980 by 789, we get 3 and a remainder of 613.
Record the quotient 3 as the next digit in the result. 
Result so far: 101488.183
Subtract 2367 from 2980 to get 613.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6130, and continue the process.

Let's proceed to step 12:
The number 789 fits into 6130 7 times, leaving a remainder of 607.
Record the quotient 7 as the next digit in the result. 
Result so far: 101488.1837
Subtract 5523 from 6130 to get 607.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6070, and continue the process.

Going ahead to step 13:
The number 789 fits into 6070 7 times, leaving a remainder of 547.
Record the quotient 7 as the next digit in the result. 
Result so far: 101488.18377
If we subtract 5523 from 6070, we get 547.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5470, and continue the process.

After the division, we end up with 101488.18377 and a remainder of 0.000547.