OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (21,-147,343).
FORMULA
G.f.: 7*x*(1 + 7*x)/((1 - 7*x)^3). - Vincenzo Librandi, Feb 06 2013
a(n) = 21*a(n-1) - 147*a(n-2) + 343*a(n-3). - Vincenzo Librandi, Feb 06 2013
MATHEMATICA
LinearRecurrence[{21, -147, 343}, {0, 7, 196}, 40] (* Vincenzo Librandi, Feb 06 2013 *)
PROG
(Magma) [n^2*7^n: n in [0..20]]; // Vincenzo Librandi, Feb 06 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Apr 07 2007
STATUS
approved