We're dividing 78077799 by 502 
The aim is to understand the frequency of 502 in 78077799.

Let's proceed to step 1:
When dividing 7 by 502, we get 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 502

Let's proceed to step 2:
If we divide 78 by 502, we get 0 and a remainder of 78.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 78 to get 78.
Take the next digit (0) from the dividend and append it to 78, then repeat: 780 / 502

Moving on to step 3:
When dividing 780 by 502, we get 1 with a remainder of 278.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 502 from 780 and we're left with 278.
Fetch the next digit (7) from the dividend, attach it to 278 and continue: 2787 / 502

Let's proceed to step 4:
When dividing 2787 by 502, we get 5 with a remainder of 277.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
Subtract 2510 from 2787 to get 277.
Fetch the next digit (7) from the dividend, attach it to 277 and continue: 2777 / 502

On to step 5:
2777 divided by 502 is 5 with a remainder of 267.
Put 5 as the next digit of the answer. 
Result so far: 155.0
If we take 2510 away from 2777, we end up with 267.
Take the next digit (7) from the dividend and append it to 267, then repeat: 2677 / 502

Let's proceed to step 6:
The number 502 fits into 2677 5 times, leaving a remainder of 167.
Record the quotient 5 as the next digit in the result. 
Result so far: 1555.0
If we subtract 2510 from 2677, we get 167.
Bring next digit (9) of the dividend behind the 167 and repeat the process: 1679 / 502

Moving on to step 7:
1679 divided by 502 is 3 with a remainder of 173.
Use 3 as the next digit of our solution. 
Result so far: 15553.0
Subtract 1506 from 1679 to get 173.
Fetch the next digit (9) from the dividend, attach it to 173 and continue: 1739 / 502

On to step 8:
When dividing 1739 by 502, we get 3 with a remainder of 233.
Write down 3 as next digit of the result. 
Result so far: 155533.0
Subtracting 1506 from 1739 leaves us with 233.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2330, and continue the process.

Advancing to step 9:
502 can be fit into 2330 4 times, resulting in a remainder of 322.
The next digit of our result is 4. 
Result so far: 155533.4
Subtracting 2008 from 2330 leaves us with 322.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

Advancing to step 10:
If we divide 3220 by 502, we get 6 and a remainder of 208.
Record the quotient 6 as the next digit in the result. 
Result so far: 155533.46
If we take 3012 away from 3220, we end up with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Advancing to step 11:
2080 divided by 502 is 4 with a remainder of 72.
The next digit of our result is 4. 
Result so far: 155533.464
If we subtract 2008 from 2080, we 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.

Advancing to step 12:
The number 502 fits into 720 1 times, leaving a remainder of 218.
The next digit of our result is 1. 
Result so far: 155533.4641
Deduct 502 from 720 and we're left with 218.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

Let's proceed to step 13:
If we divide 2180 by 502, we get 4 and a remainder of 172.
The number 4 becomes the next digit in our result. 
Result so far: 155533.46414
If we subtract 2008 from 2180, we get 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

On to step 14:
If we divide 1720 by 502, we get 3 and a remainder of 214.
Use 3 as the next digit of our solution. 
Result so far: 155533.464143
Subtracting 1506 from 1720 leaves us with 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2140, and continue the process.

Let's proceed to step 15:
502 goes into 2140 4 times with a remainder of 132.
The number 4 becomes the next digit in our result. 
Result so far: 155533.4641434
Subtract 2008 from 2140 to get 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Moving on to step 16:
When dividing 1320 by 502, we get 2 with a remainder of 316.
Use 2 as the next digit of our solution. 
Result so far: 155533.46414342
Deduct 1004 from 1320 and we're left with 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

After the division, we end up with 155533.46414342 and a remainder of 3.16e-07.