A positive integer n is chosen uniformly at random from {1,2,…,1000}. What is the probability that n is a perfect square?
Express as a fraction or decimal
Show solution
The perfect squares from 1 to 1000 are 12,22,…,312=961 (since 322=1024>1000). There are 31 perfect squares. So P=100031.