login
A050917
a(n) = n*6^n + 1.
3
1, 7, 73, 649, 5185, 38881, 279937, 1959553, 13436929, 90699265, 604661761, 3990767617, 26121388033, 169789022209, 1097098297345, 7052774768641, 45137758519297, 287753210560513, 1828079220031489, 11577835060199425, 73123168801259521, 460675963447934977
OFFSET
0,2
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
Cf. A002064.
Sequence in context: A318688 A117982 A003535 * A308418 A240195 A025592
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 30 1999
STATUS
approved