MathDB
Problems
Contests
International Contests
Baltic Way
2018 Baltic Way
16
16
Part of
2018 Baltic Way
Problems
(1)
Primes and perfect squares
Source: Baltic Way 2018, Problem 16
11/6/2018
Let
p
p
p
be an odd prime. Find all positive integers
n
n
n
for which
n
2
−
n
p
\sqrt{n^2-np}
n
2
−
n
p
is a positive integer.
number theory
prime numbers