We look at the division of 51317978 by 516 
The aim is to understand the frequency of 516 in 51317978.

Moving on to step 1:
When dividing 5 by 516, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 516

Going ahead to step 2:
The number 516 fits into 51 0 times, leaving a remainder of 51.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 51 after subtracting 0 from 51.
Fetch the next digit (3) from the dividend, attach it to 51 and continue: 513 / 516

Going ahead to step 3:
513 divided by 516 is 0 with a remainder of 513.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 513, we get 513.
Take the next digit (1) from the dividend and append it to 513, then repeat: 5131 / 516

Advancing to step 4:
When dividing 5131 by 516, we get 9 with a remainder of 487.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
If we subtract 4644 from 5131, we get 487.
Include the next digit (7) from the dividend after 487, then repeat: 4877 / 516

Advancing to step 5:
516 can be fit into 4877 9 times, resulting in a remainder of 233.
The next digit of our result is 9. 
Result so far: 99.0
Deduct 4644 from 4877 and we're left with 233.
Bring next digit (9) of the dividend behind the 233 and repeat the process: 2339 / 516

Let's proceed to step 6:
516 goes into 2339 4 times with a remainder of 275.
Put 4 as the next digit of the answer. 
Result so far: 994.0
Subtracting 2064 from 2339 leaves us with 275.
Fetch the next digit (7) from the dividend, attach it to 275 and continue: 2757 / 516

Step 7:
516 can be fit into 2757 5 times, resulting in a remainder of 177.
Record the quotient 5 as the next digit in the result. 
Result so far: 9945.0
Subtracting 2580 from 2757 leaves us with 177.
Grab the next digit (8) from the dividend, add it to 177, then carry on: 1778 / 516

Let's proceed to step 8:
1778 divided by 516 is 3 with a remainder of 230.
The number 3 becomes the next digit in our result. 
Result so far: 99453.0
Subtract 1548 from 1778 to get 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Advancing to step 9:
If we divide 2300 by 516, we get 4 and a remainder of 236.
The number 4 becomes the next digit in our result. 
Result so far: 99453.4
Deduct 2064 from 2300 and we're left with 236.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

On to step 10:
The number 516 fits into 2360 4 times, leaving a remainder of 296.
The number 4 becomes the next digit in our result. 
Result so far: 99453.44
Subtract 2064 from 2360 to get 296.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

In conclusion, the division gives 99453.44 with a balance of 0.296.