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

Let's proceed to step 1:
1 divided by 5 is 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 5

Let's proceed to step 2:
5 goes into 19 3 times with a remainder of 4.
The next digit of our result is 3. 
Result so far: 3.0
Subtracting 15 from 19 leaves us with 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 5

On to step 3:
The number 5 fits into 47 9 times, leaving a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 39.0
Deduct 45 from 47 and we're left with 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 5

On to step 4:
If we divide 29 by 5, we get 5 and a remainder of 4.
Record the quotient 5 as the next digit in the result. 
Result so far: 395.0
Deduct 25 from 29 and we're left with 4.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 5

On to step 5:
The number 5 fits into 45 9 times, leaving a remainder of 0.
The next digit of our result is 9. 
Result so far: 3959.0
Deduct 45 from 45 and we're left with 0.
Grab the next digit (9) from the dividend, add it to 0, then carry on: 9 / 5

On to step 6:
When dividing 9 by 5, we get 1 with a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 39591.0
If we subtract 5 from 9, we 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.

Going ahead to step 7:
5 can be fit into 40 8 times, resulting in a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 39591.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.

Advancing to step 8:
0 divided by 5 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 39591.8
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.

Going ahead to step 9:
0 divided by 5 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 39591.8
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.

After the division, we end up with 39591.8 and a remainder of 0.0.