OFFSET
1,1
COMMENTS
Each term is a number of the form k = sqrt(p^2 * q + 1) such that q = p^2 - 2 and k^2 + 1 = r^2 * s, where p, q, r, and s are distinct primes.
FORMULA
{ k : tau(k^2 - 1) = tau(k^2 + 1) = 6}, where tau() is the number of divisors function, A000005.
EXAMPLE
168 is a term: both 168^2 - 1 = 28223 = 13^2 * 167 and 168^2 + 1 = 28225 = 5^2 * 1129 have 6 divisors.
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon E. Schoenfield, Jun 21 2024
STATUS
approved