OFFSET
0,3
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (8,56).
FORMULA
a(n) = Sum_{k=0..n} A155112(n,k)*7^(n-k). - Philippe Deléham, Jan 27 2009
G.f.: 1 + x*(1+7*x)/(1-8*x-56*x^2). - Harvey P. Dale, Dec 11 2012
MAPLE
m:=30; S:=series( (1-7*x-49*x^2)/(1-8*x-56*x^2), x, m+1):
seq(coeff(S, x, j), j=0..m); # G. C. Greubel, Apr 20 2021
MATHEMATICA
Join[{1}, LinearRecurrence[{8, 56}, {1, 15}, 20]] (* Harvey P. Dale, Dec 11 2012 *)
PROG
(Magma) I:=[1, 15]; [1] cat [n le 2 select I[n] else 8*(Self(n-1) +7*Self(n-2)): n in [1..30]]; // G. C. Greubel, Apr 20 2021
(Sage)
def A155000_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( (1-7*x-49*x^2)/(1-8*x-56*x^2) ).list()
A155000_list(30) # G. C. Greubel, Apr 20 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Philippe Deléham, Jan 18 2009
EXTENSIONS
More terms from Philippe Deléham, Jan 27 2009
STATUS
approved