Let's divide 518936 by 5
The aim is to understand the frequency of 5 in 518936.

Advancing to step 1:
If we divide 5 by 5, we get 1 and a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 5 from 5 leaves us with 0.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 5

Step 2:
The number 5 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Subtract 0 from 1 to get 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 5

Step 3:
5 can be fit into 18 3 times, resulting in a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 103.0
Subtracting 15 from 18 leaves us with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 5

Advancing to step 4:
When dividing 39 by 5, we get 7 with a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 1037.0
If we subtract 35 from 39, we get 4.
Include the next digit (3) from the dividend after 4, then repeat: 43 / 5

Step 5:
5 goes into 43 8 times with a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 10378.0
Subtract 40 from 43 to get 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 5

On to step 6:
36 divided by 5 is 7 with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 103787.0
The remainder is 1 after subtracting 35 from 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
When dividing 10 by 5, we get 2 with a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 103787.2
Subtracting 10 from 10 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.

Let's proceed to step 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 103787.2
If we take 0 away from 0, we end up 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.

Moving on to step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 103787.2
If we take 0 away from 0, we end up 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.

In conclusion, the division gives 103787.2 with a balance of 0.0.