Question 272158
the set {0,1,2,...,170} has 171 elements.
.
of these, there are only 5 perfect cubes are:
1^3 = 1
2^3 = 8
3^3 = 27
4^3 = 64
5^3 = 125
.
so the probability is 5/171