OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..100
Silvana Ramaj, New Results on Cyclic Compositions and Multicompositions, Master's Thesis, Georgia Southern Univ., 2021. See p. 33.
Index entries for linear recurrences with constant coefficients, signature (1, 5).
FORMULA
G.f.: x*(1+4*x)/(1-x-5*x^2). - Bruno Berselli, May 24 2011
a(n+1) = Sum_{k=0..n} A119473(n,k)*4^k. - Philippe Deléham, Oct 05 2012
MATHEMATICA
LinearRecurrence[{1, 5}, {1, 5}, 40]
PROG
(Maxima) a[1]:1$ a[2]:5$ a[n]:=a[n-1]+5*a[n-2]$ makelist(a[n], n, 1, 29); /* Bruno Berselli, May 24 2011 */
(PARI) a(n)=([0, 1; 5, 1]^(n-1)*[1; 5])[1, 1] \\ Charles R Greathouse IV, Oct 21 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Harvey P. Dale, Apr 26 2011
STATUS
approved