Let's divide 509944 by 76
The aim is to understand the frequency of 76 in 509944.

Step 1:
The number 76 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 76

On to step 2:
If we divide 50 by 76, we get 0 and a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Take the next digit (9) from the dividend and append it to 50, then repeat: 509 / 76

Moving on to step 3:
509 divided by 76 is 6 with a remainder of 53.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Deduct 456 from 509 and we're left with 53.
Grab the next digit (9) from the dividend, add it to 53, then carry on: 539 / 76

Step 4:
76 goes into 539 7 times with a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 67.0
If we subtract 532 from 539, we get 7.
Bring next digit (4) of the dividend behind the 7 and repeat the process: 74 / 76

Going ahead to step 5:
74 divided by 76 is 0 with a remainder of 74.
The number 0 becomes the next digit in our result. 
Result so far: 670.0
The remainder is 74 after subtracting 0 from 74.
Include the next digit (4) from the dividend after 74, then repeat: 744 / 76

Step 6:
76 goes into 744 9 times with a remainder of 60.
Use 9 as the next digit of our solution. 
Result so far: 6709.0
Subtract 684 from 744 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 7:
When dividing 600 by 76, we get 7 with a remainder of 68.
Write down 7 as next digit of the result. 
Result so far: 6709.7
If we take 532 away from 600, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

On to step 8:
The number 76 fits into 680 8 times, leaving a remainder of 72.
The next digit of our result is 8. 
Result so far: 6709.78
Deduct 608 from 680 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Step 9:
76 goes into 720 9 times with a remainder of 36.
The next digit of our result is 9. 
Result so far: 6709.789
If we take 684 away from 720, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 10:
If we divide 360 by 76, we get 4 and a remainder of 56.
Record the quotient 4 as the next digit in the result. 
Result so far: 6709.7894
The remainder is 56 after subtracting 304 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 11:
The number 76 fits into 560 7 times, leaving a remainder of 28.
The next digit of our result is 7. 
Result so far: 6709.78947
Subtracting 532 from 560 leaves us 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.

Advancing to step 12:
280 divided by 76 is 3 with a remainder of 52.
Write down 3 as next digit of the result. 
Result so far: 6709.789473
If we take 228 away from 280, we end up with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 13:
If we divide 520 by 76, we get 6 and a remainder of 64.
Write down 6 as next digit of the result. 
Result so far: 6709.7894736
Subtracting 456 from 520 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Going ahead to step 14:
The number 76 fits into 640 8 times, leaving a remainder of 32.
The number 8 becomes the next digit in our result. 
Result so far: 6709.78947368
Subtracting 608 from 640 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

The final outcome is 6709.78947368, with a leftover of 3.2e-08.