Answer: 4/249
===========================================================
Step-by-step explanation:
Cube values in the set {0,1,2,3,...} until we reach a result larger than 497
- 0^3 = 0
- 1^3 = 1
- 2^3 = 8
- 3^3 = 27
- 4^3 = 64
- 5^3 = 125
- 6^3 = 216
- 7^3 = 343
- 8^3 = 512
We stop here because 512 is larger than 497.
Or you could note that
helping us see that we stop at 8.
The list of nonnegative perfect cubes less than 497 is {0,1,8,27,64,125,216,343}
There are 8 items in that set out of 498 items in the set {0,1,2,3,...,497}
So the probability of getting a perfect cube is 8/498 = 4/249