|
Search: id:A079971
|
|
|
| A079971 |
|
Number of compositions (ordered partitions) of n into elements of the set {1,2,5}. |
|
+0 2
|
|
| 1, 1, 2, 3, 5, 9, 15, 26, 44, 75, 128, 218, 372, 634, 1081, 1843, 3142, 5357, 9133, 15571, 26547, 45260, 77164, 131557, 224292, 382396, 651948, 1111508, 1895013, 3230813, 5508222, 9390983, 16010713, 27296709, 46538235, 79343166, 135272384
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
COMMENT
|
Number of ways of ordered sequences of nickels, dimes and quarters that add to 5n cents.
Number of permutations satisfying -k<=p(i)-i<=r and p(i)-i not in I, i=1..n, with k=1, r=4, I={2,3}.
|
|
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.
|
|
FORMULA
|
Recurrence: a(n) = a(n-1)+a(n-2)+a(n-5). G.f.: 1/(1-x-x^2-x^5).
|
|
CROSSREFS
|
Cf. A002524-A002529, A072827, A072850-A072856, A079955-A080014, A073031.
Sequence in context: A034063 A034073 A114623 this_sequence A073031 A114138 A114140
Adjacent sequences: A079968 A079969 A079970 this_sequence A079972 A079973 A079974
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Vladimir Baltic (baltic(AT)galeb.etf.bg.ac.yu), Feb 17 2003
|
|
EXTENSIONS
|
Entry revised by njas, Feb 23, 2006
|
|
|
Search completed in 0.002 seconds
|