OFFSET
1,1
COMMENTS
a(209) > 70.
a(n) <= p^2 - p, where p = A053670(n). - Jinyuan Wang, May 15 2020
LINKS
Lars Blomberg, Table of n, a(n) for n = 1..208
EXAMPLE
a(1) = 6 is because (1+1)^6 - 1^6 = 63 is divisible by 9 = 3^2.
PROG
(PARI) a(n) = {my(k = 1); while (issquarefree((n+1)^k - n^k), k++); k; } \\ Michel Marcus, Jan 14 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Dec 31 2016
EXTENSIONS
More terms from Lars Blomberg, Jan 10 2017
STATUS
approved