OFFSET
0,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..10000
MATHEMATICA
Table[Times @@ MapIndexed[(Prime@ First@ #2)^#1 &, #] &@ If[Length@ # == 1 && #[[1, 1]] == 1, {0}, Reverse@ Sort@ #[[All, -1]]] &@ FactorInteger[ n^2 + 1], {n, 0, 120}] (* Michael De Vlieger, Nov 21 2016 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 19 2016
STATUS
approved