OFFSET
1,3
COMMENTS
a(n+1) is the number of multus bitstrings of length n with no runs of 5 ones. - Steven Finch, Mar 25 2020
LINKS
T. D. Noe, Table of n, a(n) for n = 1..500
Steven Finch, Cantor-solus and Cantor-multus distributions, arXiv:2003.09458 [math.CO], 2020.
Prasad Tetali, A characterization of unique tournaments, J. Comb Theory B 72 (1) (1998), 157-159.
Index entries for linear recurrences with constant coefficients, signature (1,0,1,1,1).
FORMULA
a(n) = a(n-5) + a(n-4) + a(n-3) + a(n-1). - Jon E. Schoenfield, Aug 07 2006
G.f.: (1+x^2+x^3+x^4)/(1-x-x^3-x^4-x^5). - Harvey P. Dale, May 05 2011
MAPLE
MATHEMATICA
LinearRecurrence[{1, 0, 1, 1, 1}, {1, 1, 2, 4, 7}, 50] (* Harvey P. Dale, May 05 2011 *)
PROG
(PARI) a(n)=([0, 1, 0, 0, 0; 0, 0, 1, 0, 0; 0, 0, 0, 1, 0; 0, 0, 0, 0, 1; 1, 1, 1, 0, 1]^(n-1)*[1; 1; 2; 4; 7])[1, 1] \\ Charles R Greathouse IV, Jun 15 2015
CROSSREFS
KEYWORD
nonn,nice,easy
AUTHOR
Prasad Tetali [ tetali(AT)math.gatech.edu ]
EXTENSIONS
More terms from James A. Sellers, Feb 06 2000
STATUS
approved