OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (10,-45,120,-210,252,-210,120,-45,10,-1).
FORMULA
a(n) = 1 + n^4 + n^6 + n^9 = 1001010001 (base n).
G.f.: -x*(x^9 -8*x^8 -406*x^7 -14592*x^6 -88496*x^5 -156316*x^4 -87762*x^3 -14744*x^2 -553*x -4)/(x-1)^10. - Colin Barker, May 27 2012
MATHEMATICA
Table[1 + n^4 + n^6 + n^9, {n, 1, 50}] (* G. C. Greubel, Oct 17 2017 *)
PROG
(PARI) a(n)=n^9+n^6+n^4+1 \\ Charles R Greathouse IV, Oct 16 2015
(Magma) [1 + n^4 + n^6 + n^9: n in [1..25]]; // G. C. Greubel, Oct 17 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Oct 04 2006
STATUS
approved