OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,6).
FORMULA
G.f.: (1+x)/((1+2*x)*(1-3*x)).
a(n) = Sum_{k=0..n+1} A122950(n+1,k)*5^(n+1-k). - Philippe Deléham, Jan 08 2008
MAPLE
MATHEMATICA
LinearRecurrence[{1, 6}, {1, 2}, 30] (* Harvey P. Dale, Apr 05 2014 *)
PROG
(Sage) from sage.combinat.sloane_functions import recur_gen2b; it = recur_gen2b(1, 2, 1, 6, lambda n: 0); [next(it) for i in range(0, 29)] # Zerinvary Lajos, Jul 03 2008
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Philippe Deléham, Jan 03 2008
STATUS
approved