1999 CEMC Pascal Problems/Problem 21
Problem
A number is Beprisque if it is the only natural number between a prime number and a perfect square (ex. is Beprisque but
is not). The number of two-digit Beprisque numbers (including
) is
Solution 1
We can first list all of the perfect squares from to
, and then list of all the prime numbers between them:
The prime numbers between and
are
and
.
The prime numbers between and
are
,
, and
.
The prime numbers between and
are
and
.
The prime numbers between and
are
,
,
, and
The prime numbers between and
are
,
, and
.
The prime numbers between and
are
,
,
, and
.
The prime numbers between and
are
,
, and
.
We can notice that ,
,
,
, and
all fit the criteria. The number of numbers listed is
.
~anabel.disher