login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A079976 Expansion of g.f. 1/(1-x-x^2-x^4-x^5). 2
1, 1, 2, 3, 6, 11, 20, 36, 65, 118, 214, 388, 703, 1274, 2309, 4185, 7585, 13747, 24915, 45156, 81841, 148329, 268832, 487232, 883061, 1600463, 2900685, 5257212, 9528190, 17268926, 31298264, 56725087, 102808753, 186330956, 337706899 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Number of compositions of n into elements of the set {1,2,4,5}.
Number of permutations (p(1),...,p(n)) of (1..n) satisfying -k<=p(i)-i<=r and p(i)-i not in I, i=1..n, with k=1, r=4, I={2}.
REFERENCES
D. H. Lehmer, Permutations with strongly restricted displacements. Combinatorial theory and its applications, II (Proc. Colloq., Balatonfured, 1969), pp. 755-770. North-Holland, Amsterdam, 1970.
LINKS
Kassie Archer and Aaron Geary, Powers of permutations that avoid chains of patterns, arXiv:2312.14351 [math.CO], 2023. See p. 15.
Vladimir Baltic, On the number of certain types of strongly restricted permutations, Applicable Analysis and Discrete Mathematics 4 (2010), 119-135
Milan Janjic, Binomial Coefficients and Enumeration of Restricted Words, Journal of Integer Sequences, 2016, Vol 19, #16.7.3
FORMULA
a(n) = a(n-1)+a(n-2)+a(n-4)+a(n-5).
MATHEMATICA
CoefficientList[Series[1/(1-x-x^2-x^4-x^5), {x, 0, 40}], x] (* or *) LinearRecurrence[ {1, 1, 0, 1, 1}, {1, 1, 2, 3, 6}, 40] (* Harvey P. Dale, Mar 16 2023 *)
CROSSREFS
Sequence in context: A239342 A093608 A320328 * A017992 A018172 A018076
KEYWORD
nonn
AUTHOR
Vladimir Baltic, Feb 17 2003
EXTENSIONS
Since this sequence arises in several different contexts, I made the definition as simple as possible. - N. J. A. Sloane, Apr 17 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)