OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
18 is a term since 18^2 - 1 = 323 has 4 divisors (1, 17, 19 and 323) while 18^2 + 1 = 325 has 6 divisors (1, 5, 13, 25, 65 and 325).
MATHEMATICA
Select[Range[2, 1300], DivisorSigma[0, #^2 - 1] < DivisorSigma[0, #^2 + 1] &]
PROG
(PARI) is(k) = k > 1 && numdiv(k^2 - 1) < numdiv(k^2 + 1);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Jun 22 2024
STATUS
approved