We look at the division of 515650 by 5 
The aim is to understand the frequency of 5 in 515650.

On to step 1:
5 divided by 5 is 1 with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 5 from 5 to get 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 5

Step 2:
5 goes into 1 0 times with a remainder of 1.
The next digit of our result is 0. 
Result so far: 10.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 5

Moving on to step 3:
5 can be fit into 15 3 times, resulting in a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 103.0
If we take 15 away from 15, we end up with 0.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 5

Step 4:
5 goes into 6 1 times with a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 1031.0
If we subtract 5 from 6, we get 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 5

Going ahead to step 5:
5 can be fit into 15 3 times, resulting in a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 10313.0
Subtracting 15 from 15 leaves us with 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 5

Let's proceed to step 6:
The number 5 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 103130.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 7:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 103130.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 103130.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 103130.0 with a remainder of 0.0.