OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (13, -39, 27).
FORMULA
a(0)=2, a(1)=10, a(2)=70, a(n)=13*a(n-1)-39*a(n-2)+27*a(n-3). - Harvey P. Dale, Jul 13 2012
G.f.: ( -2+16*x-18*x^2 ) / ( (x-1)*(3*x-1)*(9*x-1) ). - R. J. Mathar, Nov 07 2015
a(n) = 2*A051406(n). - R. J. Mathar, Nov 07 2015
MATHEMATICA
Table[(3^n+1)(3^(n+1)+1)/4, {n, 0, 20}] (* or *) LinearRecurrence[{13, -39, 27}, {2, 10, 70}, 20] (* Harvey P. Dale, Jul 13 2012 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved