OFFSET
1,2
EXAMPLE
a(9) = 12345679 because 12345679*9^2+1 = 1000000000 = 10^9.
MATHEMATICA
a={}; Do[k = 2; While[ !IntegerQ[(k^n - 1)/n^2], k++ ]; AppendTo[a, (k^n-1)/n^2], {n, 1, 20}]; a
PROG
(PARI) a(n)=my(k); while(!ispower(k++*n^2+1, n), ); k \\ Charles R Greathouse IV, May 15 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Aug 03 2011
STATUS
approved