We look at the division of 77977585 by 513 
The aim is to understand the frequency of 513 in 77977585.

Advancing to step 1:
If we divide 7 by 513, we get 0 and a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Include the next digit (7) from the dividend after 7, then repeat: 77 / 513

Moving on to step 2:
If we divide 77 by 513, we get 0 and a remainder of 77.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 77, we get 77.
Include the next digit (9) from the dividend after 77, then repeat: 779 / 513

Let's proceed to step 3:
513 can be fit into 779 1 times, resulting in a remainder of 266.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 513 from 779 and we're left with 266.
Include the next digit (7) from the dividend after 266, then repeat: 2667 / 513

On to step 4:
513 goes into 2667 5 times with a remainder of 102.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
Subtracting 2565 from 2667 leaves us with 102.
Include the next digit (7) from the dividend after 102, then repeat: 1027 / 513

Advancing to step 5:
If we divide 1027 by 513, we get 2 and a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 152.0
The remainder is 1 after subtracting 1026 from 1027.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 513

On to step 6:
513 can be fit into 15 0 times, resulting in a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 1520.0
Subtract 0 from 15 to get 15.
Take the next digit (8) from the dividend and append it to 15, then repeat: 158 / 513

Let's proceed to step 7:
513 can be fit into 158 0 times, resulting in a remainder of 158.
The next digit of our result is 0. 
Result so far: 15200.0
Subtracting 0 from 158 leaves us with 158.
Take the next digit (5) from the dividend and append it to 158, then repeat: 1585 / 513

Advancing to step 8:
1585 divided by 513 is 3 with a remainder of 46.
Record the quotient 3 as the next digit in the result. 
Result so far: 152003.0
Subtract 1539 from 1585 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Going ahead to step 9:
If we divide 460 by 513, we get 0 and a remainder of 460.
Record the quotient 0 as the next digit in the result. 
Result so far: 152003.0
If we subtract 0 from 460, we get 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Advancing to step 10:
The number 513 fits into 4600 8 times, leaving a remainder of 496.
Record the quotient 8 as the next digit in the result. 
Result so far: 152003.08
Subtracting 4104 from 4600 leaves us with 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

On to step 11:
513 goes into 4960 9 times with a remainder of 343.
The number 9 becomes the next digit in our result. 
Result so far: 152003.089
If we subtract 4617 from 4960, we get 343.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3430, and continue the process.

On to step 12:
If we divide 3430 by 513, we get 6 and a remainder of 352.
Use 6 as the next digit of our solution. 
Result so far: 152003.0896
If we subtract 3078 from 3430, we get 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Advancing to step 13:
When dividing 3520 by 513, we get 6 with a remainder of 442.
The number 6 becomes the next digit in our result. 
Result so far: 152003.08966
If we take 3078 away from 3520, we end up with 442.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4420, and continue the process.

The final outcome is 152003.08966, with a leftover of 0.000442.