OFFSET
0,3
COMMENTS
Row sums of Riordan array (1,1(1-8x)).
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,-8).
FORMULA
a(n) = a(n-1) - 8*a(n-2), a(0)=1, a(1)=1.
a(n) = Sum_{k=0..n} A109466(n,k)*8^(n-k).
MATHEMATICA
LinearRecurrence[{1, -8}, {1, 1}, 50] (* G. C. Greubel, Jan 29 2016 *)
PROG
(Sage) [lucas_number1(n, 1, 8) for n in range(1, 27)] # Zerinvary Lajos, Apr 22 2009
(PARI) Vec(1/(1-x*(1-8*x)) + O(x^40)) \\ Michel Marcus, Jan 29 2016
(Magma) I:=[1, 1]; [n le 2 select I[n] else Self(n-1) - 8*Self(n-2): n in [1..30]]; // G. C. Greubel, Jan 19 2018
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Philippe Deléham, Oct 26 2008
STATUS
approved