OFFSET
0,1
COMMENTS
All primes are prime divisors.
REFERENCES
G. Pólya and G. Szegő, Problems and Theorems in Analysis II (Springer 1924, reprinted 1972), Part Eight, Chap. 2, Sect. 1, Problem 102.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
a(n) = (n^2 - 2)*(n^2 - 3)*(n^2 - 6).
G.f.: (-36 + 242*x - 690*x^2 + 1204*x^3 - 56*x^4 + 66*x^5 - 10*x^6)/(1-x)^7. [Colin Barker, May 11 2012]
MATHEMATICA
Array[#^6 - 11 #^4 + 36 #^2 - 36 &, 27, 0] (* Michael De Vlieger, Jan 22 2018 *)
PROG
(Magma)[n^6 - 11*n^4 + 36*n^2 - 36: n in [0..40]]; // Vincenzo Librandi, Dec 26 2010
(PARI) a(n)=n^6-11*n^4+36*n^2-36 \\ Charles R Greathouse IV, May 11 2012
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Reinhard Zumkeller, Aug 20 2005
STATUS
approved