OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..955
Index entries for linear recurrences with constant coefficients, signature (17,-66).
FORMULA
a(n) = (11^(n+1) - 6^(n+1))/5. - Lambert Klasen (lambert.klasen(AT)gmx.net), Feb 06 2005
a(n) = 11*a(n-1) + 6^n, a(0)=1. - Vincenzo Librandi, Feb 09 2011
E.g.f.: (1/5)*(11*exp(11*x) - 6*exp(6*x)). - G. C. Greubel, Nov 13 2024
MAPLE
MATHEMATICA
Table[(11^(n+1) -6^(n+1))/5, {n, 0, 40}] (* Vladimir Joseph Stephan Orlovsky, Feb 08 2011 *)
LinearRecurrence[{17, -66}, {1, 17}, 41] (* G. C. Greubel, Nov 13 2024 *)
PROG
(PARI) Vec(1/((1-6*x)*(1-11*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
(Magma) [(11^(n+1) - 6^(n+1))/5: n in [0..40]]; // G. C. Greubel, Nov 13 2024
(SageMath)
A016174=BinaryRecurrenceSequence(17, -66, 1, 17)
print([A016174(n) for n in range(41)]) # G. C. Greubel, Nov 13 2024
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
EXTENSIONS
More terms added by G. C. Greubel, Nov 13 2024
STATUS
approved