We look at the division of 170058 by 76 
The aim is to understand the frequency of 76 in 170058.

Let's proceed to step 1:
The number 76 fits into 1 0 times, leaving a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 76

Let's proceed to step 2:
When dividing 17 by 76, we get 0 with a remainder of 17.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 17 to get 17.
Include the next digit (0) from the dividend after 17, then repeat: 170 / 76

Going ahead to step 3:
170 divided by 76 is 2 with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 152 from 170 and we're left with 18.
Take the next digit (0) from the dividend and append it to 18, then repeat: 180 / 76

Let's proceed to step 4:
If we divide 180 by 76, we get 2 and a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 22.0
The remainder is 28 after subtracting 152 from 180.
Take the next digit (5) from the dividend and append it to 28, then repeat: 285 / 76

Moving on to step 5:
285 divided by 76 is 3 with a remainder of 57.
Use 3 as the next digit of our solution. 
Result so far: 223.0
Subtract 228 from 285 to get 57.
Fetch the next digit (8) from the dividend, attach it to 57 and continue: 578 / 76

Step 6:
The number 76 fits into 578 7 times, leaving a remainder of 46.
Write down 7 as next digit of the result. 
Result so far: 2237.0
Deduct 532 from 578 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

On to step 7:
76 can be fit into 460 6 times, resulting in a remainder of 4.
The next digit of our result is 6. 
Result so far: 2237.6
The remainder is 4 after subtracting 456 from 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
76 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 2237.6
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 9:
76 goes into 400 5 times with a remainder of 20.
Put 5 as the next digit of the answer. 
Result so far: 2237.605
The remainder is 20 after subtracting 380 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 10:
200 divided by 76 is 2 with a remainder of 48.
Record the quotient 2 as the next digit in the result. 
Result so far: 2237.6052
Deduct 152 from 200 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Advancing to step 11:
The number 76 fits into 480 6 times, leaving a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 2237.60526
If we subtract 456 from 480, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 12:
76 goes into 240 3 times with a remainder of 12.
Write down 3 as next digit of the result. 
Result so far: 2237.605263
Subtracting 228 from 240 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 13:
76 goes into 120 1 times with a remainder of 44.
Write down 1 as next digit of the result. 
Result so far: 2237.6052631
If we take 76 away from 120, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 14:
The number 76 fits into 440 5 times, leaving a remainder of 60.
The next digit of our result is 5. 
Result so far: 2237.60526315
The remainder is 60 after subtracting 380 from 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

After the division, we end up with 2237.60526315 and a remainder of 6e-08.