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

Step 1:
5 divided by 76 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 76

On to step 2:
The number 76 fits into 50 0 times, leaving a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Fetch the next digit (7) from the dividend, attach it to 50 and continue: 507 / 76

Let's proceed to step 3:
If we divide 507 by 76, we get 6 and a remainder of 51.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Subtract 456 from 507 to get 51.
Grab the next digit (6) from the dividend, add it to 51, then carry on: 516 / 76

Going ahead to step 4:
If we divide 516 by 76, we get 6 and a remainder of 60.
Write down 6 as next digit of the result. 
Result so far: 66.0
Subtracting 456 from 516 leaves us with 60.
Fetch the next digit (6) from the dividend, attach it to 60 and continue: 606 / 76

On to step 5:
606 divided by 76 is 7 with a remainder of 74.
Write down 7 as next digit of the result. 
Result so far: 667.0
If we take 532 away from 606, we end up with 74.
Include the next digit (6) from the dividend after 74, then repeat: 746 / 76

Moving on to step 6:
746 divided by 76 is 9 with a remainder of 62.
The number 9 becomes the next digit in our result. 
Result so far: 6679.0
If we subtract 684 from 746, we get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

On to step 7:
If we divide 620 by 76, we get 8 and a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 6679.8
Deduct 608 from 620 and we're left 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.

On to step 8:
76 can be fit into 120 1 times, resulting in a remainder of 44.
Record the quotient 1 as the next digit in the result. 
Result so far: 6679.81
Subtract 76 from 120 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 9:
76 can be fit into 440 5 times, resulting in a remainder of 60.
The next digit of our result is 5. 
Result so far: 6679.815
Subtract 380 from 440 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 10:
600 divided by 76 is 7 with a remainder of 68.
Write down 7 as next digit of the result. 
Result so far: 6679.8157
The remainder is 68 after subtracting 532 from 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Moving on to step 11:
76 can be fit into 680 8 times, resulting in a remainder of 72.
Record the quotient 8 as the next digit in the result. 
Result so far: 6679.81578
Subtract 608 from 680 to get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Let's proceed to step 12:
When dividing 720 by 76, we get 9 with a remainder of 36.
Write down 9 as next digit of the result. 
Result so far: 6679.815789
The remainder is 36 after subtracting 684 from 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 13:
When dividing 360 by 76, we get 4 with a remainder of 56.
Write down 4 as next digit of the result. 
Result so far: 6679.8157894
If we subtract 304 from 360, we get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 14:
76 goes into 560 7 times with a remainder of 28.
Put 7 as the next digit of the answer. 
Result so far: 6679.81578947
If we take 532 away from 560, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 6679.81578947, and the remainder is 2.8e-08.