Question 113
Find all positive integers $n$ such that
$$
n = q(q^2 - q - 1) = r(2r + 3)
$$
for some primes $q$ and $r$.
$$
n = q(q^2 - q - 1) = r(2r + 3)
$$
for some primes $q$ and $r$.
Math Olympiad Vault · MathNet 2015-part-01 — 191 problems (EN–VI)