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

Step 1:
When dividing 1 by 7, we get 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 7

Let's proceed to step 2:
The number 7 fits into 16 2 times, leaving a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 14 from 16, we get 2.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 7

On to step 3:
The number 7 fits into 20 2 times, leaving a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
If we subtract 14 from 20, we get 6.
Fetch the next digit (9) from the dividend, attach it to 6 and continue: 69 / 7

On to step 4:
7 goes into 69 9 times with a remainder of 6.
The next digit of our result is 9. 
Result so far: 229.0
The remainder is 6 after subtracting 63 from 69.
Include the next digit (7) from the dividend after 6, then repeat: 67 / 7

Let's proceed to step 5:
When dividing 67 by 7, we get 9 with a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 2299.0
Subtract 63 from 67 to get 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 7

Step 6:
7 can be fit into 47 6 times, resulting in a remainder of 5.
The next digit of our result is 6. 
Result so far: 22996.0
Subtracting 42 from 47 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.

Going ahead to step 7:
7 can be fit into 50 7 times, resulting in a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 22996.7
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 8:
When dividing 10 by 7, we get 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 22996.71
Subtract 7 from 10 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 9:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 22996.714
Subtract 28 from 30 to get 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 10:
20 divided by 7 is 2 with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 22996.7142
The remainder is 6 after subtracting 14 from 20.
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 11:
7 can be fit into 60 8 times, resulting in a remainder of 4.
The next digit of our result is 8. 
Result so far: 22996.71428
Subtracting 56 from 60 leaves us 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.

Let's proceed to step 12:
40 divided by 7 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 22996.714285
Deduct 35 from 40 and we're left 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.

Let's proceed to step 13:
When dividing 50 by 7, we get 7 with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 22996.7142857
If we take 49 away from 50, we end up 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.

Going ahead to step 14:
If we divide 10 by 7, we get 1 and a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 22996.71428571
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.

The quotient of the division is 22996.71428571, and the remainder is 3e-09.