OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (13,-48,36).
FORMULA
G.f.: -(30*x^2-6*x+1)/((x-1)*(6*x-1)^2). [Colin Barker, Oct 14 2012]
a(0)=1, a(1)=7, a(2)=73, a(n)=13*a(n-1)-48*a(n-2)+36*a(n-3). - Harvey P. Dale, Feb 20 2013
MATHEMATICA
Table[n 6^n+1, {n, 0, 40}] (* or *) LinearRecurrence[{13, -48, 36}, {1, 7, 73}, 40] (* Harvey P. Dale, Feb 20 2013 *)
PROG
(Magma) [ n*6^n+1: n in [0..20]]; // Vincenzo Librandi, Sep 16 2011
(PARI) vector(20, n, n--; n*6^n + 1) \\ Michel Marcus, Jun 11 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 30 1999
STATUS
approved