We look at the division of 171760 by 7 
The aim is to understand the frequency of 7 in 171760.

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
Subtracting 0 from 1 leaves us with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 7

Moving on to step 2:
If we divide 17 by 7, we get 2 and a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 14 away from 17, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 7

Advancing to step 3:
When dividing 31 by 7, we get 4 with a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 24.0
Deduct 28 from 31 and we're left with 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 7

Advancing to step 4:
When dividing 37 by 7, we get 5 with a remainder of 2.
The next digit of our result is 5. 
Result so far: 245.0
Subtracting 35 from 37 leaves us with 2.
Append the next digit (6) from the dividend to 2 and continue with: 26 / 7

Let's proceed to step 5:
The number 7 fits into 26 3 times, leaving a remainder of 5.
Put 3 as the next digit of the answer. 
Result so far: 2453.0
Subtracting 21 from 26 leaves us with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 7

Step 6:
If we divide 50 by 7, we get 7 and a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 24537.0
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.

Advancing to step 7:
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: 24537.1
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 8:
7 goes into 30 4 times with a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 24537.14
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 9:
When dividing 20 by 7, we get 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 24537.142
Deduct 14 from 20 and we're left 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.

Step 10:
7 goes into 60 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 24537.1428
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 11:
When dividing 40 by 7, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 24537.14285
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.

Moving on to step 12:
7 can be fit into 50 7 times, resulting in a remainder of 1.
The next digit of our result is 7. 
Result so far: 24537.142857
Subtract 49 from 50 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 13:
The number 7 fits into 10 1 times, leaving a remainder of 3.
The next digit of our result is 1. 
Result so far: 24537.1428571
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.

Moving on to step 14:
If we divide 30 by 7, we get 4 and a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 24537.14285714
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.

In conclusion, the division gives 24537.14285714 with a balance of 2e-09.