2026-05-08

Problem — 2026-05-08

Easy

EasyProbability

A positive integer nn is chosen uniformly at random from {1,2,…,1000}\{1, 2, \ldots, 1000\}. What is the probability that nn is a perfect square?

Express as a fraction or decimal

Show solution
The perfect squares from 11 to 10001000 are 12,22,…,312=9611^2, 2^2, \ldots, 31^2 = 961 (since 322=1024>100032^2 = 1024 > 1000). There are 3131 perfect squares. So P=311000P = \frac{31}{1000}.