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

Going ahead to step 1:
When dividing 1 by 5, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 5

Advancing to step 2:
If we divide 17 by 5, we get 3 and a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtract 15 from 17 to get 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 5

Advancing to step 3:
5 can be fit into 22 4 times, resulting in a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 34.0
The remainder is 2 after subtracting 20 from 22.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 5

Advancing to step 4:
25 divided by 5 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 345.0
Subtract 25 from 25 to get 0.
Grab the next digit (9) from the dividend, add it to 0, then carry on: 9 / 5

Moving on to step 5:
If we divide 9 by 5, we get 1 and a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 3451.0
Subtracting 5 from 9 leaves us with 4.
Bring next digit (8) of the dividend behind the 4 and repeat the process: 48 / 5

On to step 6:
The number 5 fits into 48 9 times, leaving a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 34519.0
Deduct 45 from 48 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:
30 divided by 5 is 6 with a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 34519.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.

Going ahead to step 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 34519.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:
5 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 34519.6
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.

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