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

Going ahead to step 1:
5 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 5

Advancing to step 2:
5 goes into 40 8 times with a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 8.0
If we subtract 40 from 40, we get 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 5

Moving on to step 3:
If we divide 2 by 5, we get 0 and a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 80.0
If we take 0 away from 2, we end up with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 5

Step 4:
If we divide 25 by 5, we get 5 and a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 805.0
If we take 25 away from 25, we end up with 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 5

Moving on to step 5:
1 divided by 5 is 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 8050.0
The remainder is 1 after subtracting 0 from 1.
Bring next digit (9) of the dividend behind the 1 and repeat the process: 19 / 5

Advancing to step 6:
19 divided by 5 is 3 with a remainder of 4.
The next digit of our result is 3. 
Result so far: 80503.0
Subtract 15 from 19 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 7:
5 can be fit into 40 8 times, resulting in a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 80503.8
Subtracting 40 from 40 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.

On to step 8:
5 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 80503.8
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.

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