507643 ÷ 5 
The aim is to understand the frequency of 5 in 507643.

Moving on to step 1:
5 divided by 5 is 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 5 from 5, we get 0.
Append the next digit (0) from the dividend to 0 and continue with: 0 / 5

Moving on to step 2:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
The remainder is 0 after subtracting 0 from 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 5

On to step 3:
When dividing 7 by 5, we get 1 with a remainder of 2.
The next digit of our result is 1. 
Result so far: 101.0
If we subtract 5 from 7, we get 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 5

Moving on to step 4:
5 can be fit into 26 5 times, resulting in a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 1015.0
Subtract 25 from 26 to get 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 5

On to step 5:
If we divide 14 by 5, we get 2 and a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 10152.0
Subtracting 10 from 14 leaves us with 4.
Fetch the next digit (3) from the dividend, attach it to 4 and continue: 43 / 5

Let's proceed to step 6:
If we divide 43 by 5, we get 8 and a remainder of 3.
The number 8 becomes the next digit in our result. 
Result so far: 101528.0
Deduct 40 from 43 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 7:
5 can be fit into 30 6 times, resulting in a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 101528.6
Subtracting 30 from 30 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:
0 divided by 5 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 101528.6
If we subtract 0 from 0, we get 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 9:
When dividing 0 by 5, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 101528.6
If we subtract 0 from 0, we get 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 101528.6 with a balance of 0.0.