OFFSET
0,2
LINKS
Vincenzo Librandi, 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
From Ilya Gutkovskiy, Jun 15 2016: (Start)
G.f.: (1 + 4089*x + 88998*x^2 + 262438*x^3 + 154113*x^4 + 15177*x^5 + 64*x^6)/(1 - x)^7.
a(n) = 7*a(n-1) - 21*a(n-2) + 35*a(n-3) - 35*a(n-4) + 21*a(n-5) - 7*a(n-6) + a(n-7). (End)
Sum_{n>=0} 1/a(n) = PolyGamma(5, 1/3)/87480. - Amiram Eldar, Mar 29 2022
MATHEMATICA
Table[(3n+1)^6, {n, 0, 100}] (* Mohammad K. Azarian, Jun 15 2016 *)
LinearRecurrence[{7, -21, 35, -35, 21, -7, 1}, {1, 4096, 117649, 1000000, 4826809, 16777216, 47045881}, 20] (* Harvey P. Dale, Sep 30 2016 *)
PROG
(Magma) [(3*n+1)^6: n in [0..30]]; // Vincenzo Librandi, Sep 21 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved