Let's divide 80717797 by 7
The aim is to understand the frequency of 7 in 80717797.

Going ahead to step 1:
7 can be fit into 8 1 times, resulting in a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 1 after subtracting 7 from 8.
Bring next digit (0) of the dividend behind the 1 and repeat the process: 10 / 7

Step 2:
When dividing 10 by 7, we get 1 with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
Deduct 7 from 10 and we're left with 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 7

Step 3:
When dividing 37 by 7, we get 5 with a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 115.0
Deduct 35 from 37 and we're left with 2.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 7

Moving on to step 4:
If we divide 21 by 7, we get 3 and a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 1153.0
Subtracting 21 from 21 leaves us with 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 7

Let's proceed to step 5:
7 goes into 7 1 times with a remainder of 0.
The next digit of our result is 1. 
Result so far: 11531.0
Subtract 7 from 7 to get 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 7

Advancing to step 6:
7 goes into 7 1 times with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 115311.0
Subtract 7 from 7 to get 0.
Append the next digit (9) from the dividend to 0 and continue with: 9 / 7

Moving on to step 7:
When dividing 9 by 7, we get 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1153111.0
If we take 7 away from 9, we end up with 2.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 7

Step 8:
The number 7 fits into 27 3 times, leaving a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 11531113.0
The remainder is 6 after subtracting 21 from 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 9:
7 goes into 60 8 times with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 11531113.8
If we take 56 away from 60, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 10:
40 divided by 7 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 11531113.85
Subtract 35 from 40 to 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.

On to step 11:
When dividing 50 by 7, we get 7 with a remainder of 1.
The next digit of our result is 7. 
Result so far: 11531113.857
Subtracting 49 from 50 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 12:
When dividing 10 by 7, we get 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 11531113.8571
If we take 7 away from 10, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 13:
7 goes into 30 4 times with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 11531113.85714
Deduct 28 from 30 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 14:
7 can be fit into 20 2 times, resulting in a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 11531113.857142
If we take 14 away from 20, we end up 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.

Let's proceed to step 15:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 11531113.8571428
Deduct 56 from 60 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 16:
40 divided by 7 is 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 11531113.85714285
Subtracting 35 from 40 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The final result is 11531113.85714285 with a remainder of 5e-09.