OFFSET
1,6
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
a = {}; Do[AppendTo[a, 2n^3 - 2n + 9], {n, 1, 300}]; b = {}; Do[c = FactorInteger[a[[n]]]; d = c[[Length[c]]]; AppendTo[b, a[[n]]/(3 d[[1]])], {n, 1, Length[a]}]; b
PROG
(PARI) gpf(n)=my(f=factor(n)[, 1]); if(n==1, 1, f[#f]);
a(n)=my(m=2*n^3-2*n+9); m/gpf(m)/3 \\ Charles R Greathouse IV, Mar 13 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Feb 10 2007
STATUS
approved