We divide 159687 by 5
The aim is to understand the frequency of 5 in 159687.

Going ahead to step 1:
When dividing 1 by 5, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 5

Advancing to step 2:
15 divided by 5 is 3 with a remainder of 0.
The next digit of our result is 3. 
Result so far: 3.0
The remainder is 0 after subtracting 15 from 15.
Bring next digit (9) of the dividend behind the 0 and repeat the process: 9 / 5

Step 3:
When dividing 9 by 5, we get 1 with a remainder of 4.
The next digit of our result is 1. 
Result so far: 31.0
Deduct 5 from 9 and we're left with 4.
Bring next digit (6) of the dividend behind the 4 and repeat the process: 46 / 5

Advancing to step 4:
The number 5 fits into 46 9 times, leaving a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 319.0
If we take 45 away from 46, we end up with 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 5

Advancing to step 5:
If we divide 18 by 5, we get 3 and a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 3193.0
The remainder is 3 after subtracting 15 from 18.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 5

Going ahead to step 6:
5 goes into 37 7 times with a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 31937.0
Subtract 35 from 37 to get 2.
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:
The number 5 fits into 20 4 times, leaving a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 31937.4
Deduct 20 from 20 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.

Advancing to step 8:
5 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 31937.4
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.

Advancing to step 9:
0 divided by 5 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 31937.4
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.

The final outcome is 31937.4, with a leftover of 0.0.