OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..959
Index entries for linear recurrences with constant coefficients, signature (16,-55).
FORMULA
a(n) = (11^(n+1) - 5^(n+1))/6. - Al Hakanson (hawkuu(AT)gmail.com), Jan 07 2009
a(n) = 11*a(n-1) + 5^n, a(0)=1. - Vincenzo Librandi, Feb 09 2011
E.g.f.: (1/6)*(11*exp(11*x) - 5*exp(5*x)). - G. C. Greubel, Nov 10 2024
MATHEMATICA
Table[(11^(n+1)-5^(n+1))/6, {n, 0, 30}] (* Vladimir Joseph Stephan Orlovsky, Feb 08 2011 *)
CoefficientList[Series[1/((1-5x)(1-11x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{16, -55}, {1, 16}, 30] (* Harvey P. Dale, Nov 24 2021 *)
PROG
(Magma) [n le 2 select 16^(n-1) else 16*Self(n-1) -55*Self(n-2): n in [1..31]]; // G. C. Greubel, Nov 10 2024
(SageMath)
A016165=BinaryRecurrenceSequence(16, -55, 1, 16)
[A016165(n) for n in range(31)] # G. C. Greubel, Nov 10 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved