We look at the division of 76797350 by 502 
The aim is to understand the frequency of 502 in 76797350.

Step 1:
When dividing 7 by 502, we get 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Fetch the next digit (6) from the dividend, attach it to 7 and continue: 76 / 502

Let's proceed to step 2:
If we divide 76 by 502, we get 0 and a remainder of 76.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 76 leaves us with 76.
Take the next digit (7) from the dividend and append it to 76, then repeat: 767 / 502

Let's proceed to step 3:
502 goes into 767 1 times with a remainder of 265.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 502 from 767 to get 265.
Append the next digit (9) from the dividend to 265 and continue with: 2659 / 502

Moving on to step 4:
The number 502 fits into 2659 5 times, leaving a remainder of 149.
Put 5 as the next digit of the answer. 
Result so far: 15.0
Deduct 2510 from 2659 and we're left with 149.
Append the next digit (7) from the dividend to 149 and continue with: 1497 / 502

Let's proceed to step 5:
502 goes into 1497 2 times with a remainder of 493.
Use 2 as the next digit of our solution. 
Result so far: 152.0
If we take 1004 away from 1497, we end up with 493.
Include the next digit (3) from the dividend after 493, then repeat: 4933 / 502

Going ahead to step 6:
If we divide 4933 by 502, we get 9 and a remainder of 415.
The next digit of our result is 9. 
Result so far: 1529.0
If we take 4518 away from 4933, we end up with 415.
Take the next digit (5) from the dividend and append it to 415, then repeat: 4155 / 502

Step 7:
502 goes into 4155 8 times with a remainder of 139.
Put 8 as the next digit of the answer. 
Result so far: 15298.0
If we take 4016 away from 4155, we end up with 139.
Grab the next digit (0) from the dividend, add it to 139, then carry on: 1390 / 502

Let's proceed to step 8:
502 goes into 1390 2 times with a remainder of 386.
Write down 2 as next digit of the result. 
Result so far: 152982.0
Subtract 1004 from 1390 to get 386.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3860, and continue the process.

Moving on to step 9:
When dividing 3860 by 502, we get 7 with a remainder of 346.
Put 7 as the next digit of the answer. 
Result so far: 152982.7
Subtract 3514 from 3860 to get 346.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3460, and continue the process.

Going ahead to step 10:
When dividing 3460 by 502, we get 6 with a remainder of 448.
Write down 6 as next digit of the result. 
Result so far: 152982.76
Subtracting 3012 from 3460 leaves us with 448.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4480, and continue the process.

Let's proceed to step 11:
If we divide 4480 by 502, we get 8 and a remainder of 464.
Write down 8 as next digit of the result. 
Result so far: 152982.768
The remainder is 464 after subtracting 4016 from 4480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

On to step 12:
4640 divided by 502 is 9 with a remainder of 122.
Use 9 as the next digit of our solution. 
Result so far: 152982.7689
Deduct 4518 from 4640 and we're left with 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

Moving on to step 13:
502 goes into 1220 2 times with a remainder of 216.
Write down 2 as next digit of the result. 
Result so far: 152982.76892
Deduct 1004 from 1220 and we're left with 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

On to step 14:
The number 502 fits into 2160 4 times, leaving a remainder of 152.
Record the quotient 4 as the next digit in the result. 
Result so far: 152982.768924
The remainder is 152 after subtracting 2008 from 2160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1520, and continue the process.

Going ahead to step 15:
502 can be fit into 1520 3 times, resulting in a remainder of 14.
Record the quotient 3 as the next digit in the result. 
Result so far: 152982.7689243
The remainder is 14 after subtracting 1506 from 1520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 16:
502 can be fit into 140 0 times, resulting in a remainder of 140.
The number 0 becomes the next digit in our result. 
Result so far: 152982.7689243
If we subtract 0 from 140, we get 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Our division results in 152982.7689243 with a remaining 1.4e-07.