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

Step 1:
When dividing 7 by 5, we get 1 with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 5 from 7 to get 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 5

Moving on to step 2:
5 goes into 26 5 times with a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
Subtracting 25 from 26 leaves us with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 5

On to step 3:
5 goes into 14 2 times with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 152.0
Subtracting 10 from 14 leaves us with 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 5

Step 4:
5 can be fit into 49 9 times, resulting in a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 1529.0
If we subtract 45 from 49, we get 4.
Grab the next digit (6) from the dividend, add it to 4, then carry on: 46 / 5

Going ahead to step 5:
When dividing 46 by 5, we get 9 with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 15299.0
Subtract 45 from 46 to get 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 5

Moving on to step 6:
5 goes into 12 2 times with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 152992.0
The remainder is 2 after subtracting 10 from 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 7:
When dividing 20 by 5, we get 4 with a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 152992.4
If we take 20 away from 20, 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.

On to step 8:
If we divide 0 by 5, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 152992.4
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:
5 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 152992.4
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 outcome is 152992.4, with a leftover of 0.0.