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

Step 1:
3 divided by 5 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 5

Step 2:
5 goes into 39 7 times with a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 7.0
Deduct 35 from 39 and we're left with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 5

Going ahead to step 3:
5 goes into 47 9 times with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 79.0
Subtract 45 from 47 to get 2.
Append the next digit (3) from the dividend to 2 and continue with: 23 / 5

Let's proceed to step 4:
The number 5 fits into 23 4 times, leaving a remainder of 3.
The next digit of our result is 4. 
Result so far: 794.0
If we take 20 away from 23, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 5

On to step 5:
31 divided by 5 is 6 with a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 7946.0
Deduct 30 from 31 and we're left with 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 5

Advancing to step 6:
13 divided by 5 is 2 with a remainder of 3.
The next digit of our result is 2. 
Result so far: 79462.0
Subtracting 10 from 13 leaves us 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.

Let's proceed to step 7:
If we divide 30 by 5, we get 6 and a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 79462.6
If we take 30 away from 30, 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:
5 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 79462.6
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.

Moving on to step 9:
0 divided by 5 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 79462.6
Subtract 0 from 0 to 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 79462.6 with a balance of 0.0.