MathDB
Seemingly ugly NT with 4 conditions

Source: Serbia JBMO TST 2023 P4

May 28, 2023
number theory

Problem Statement

Find all triples (k,m,n)(k, m, n) of positive integers such that mm is a prime and:
(1) knkn is a perfect square;
(2) k(k1)2+n\frac{k(k-1)}{2}+n is a fourth power of a prime;
(3) km2=pk-m^2=p where pp is a prime;
(4) n+2m2=p4\frac{n+2}{m^2}=p^4.