|
Search: id:A003242
|
|
|
| A003242 |
|
Number of compositions of n such that no two adjacent parts are equal. |
|
+0 29
|
|
| 1, 1, 1, 3, 4, 7, 14, 23, 39, 71, 124, 214, 378, 661, 1152, 2024, 3542, 6189, 10843, 18978, 33202, 58130, 101742, 178045, 311648, 545470, 954658, 1670919, 2924536, 5118559, 8958772, 15680073, 27443763, 48033284, 84069952, 147142465, 257534928, 450748483, 788918212
(list; graph; listen)
|
|
|
OFFSET
|
0,4
|
|
|
REFERENCES
|
L. Carlitz, Restricted Compositions, Fibonacci Quarterly, 14 (1976) 254-264.
|
|
LINKS
|
Christian G. Bower, Table of n, a(n) for n = 0..500
P. Flajolet and R. Sedgewick, Analytic Combinatorics, 2009; see page 201
A. Knopfmacher and H. Prodinger, On Carlitz compositions, European Journal of Combinatorics, Vol. 19, 1998, pp. 579-589.
|
|
FORMULA
|
a(n)=Sum_{k=1..n} A048272(k)*a(n-k), n>1, a(0)=1. - Vladeta Jovovic (vladeta(AT)eunet.rs), Feb 05 2002
G.f. 1/(1 - sum(k>0, x^k/(1+x^k))).
|
|
CROSSREFS
|
Cf. A106351, A114900, A114902.
Sequence in context: A041002 A062203 A095063 this_sequence A073728 A132407 A070035
Adjacent sequences: A003239 A003240 A003241 this_sequence A003243 A003244 A003245
|
|
KEYWORD
|
nonn,nice
|
|
AUTHOR
|
erc(AT)pollux.cs.uga.edu (E Rodney Canfield)
|
|
EXTENSIONS
|
More terms from David W. Wilson (davidwwilson(AT)comcast.net).
|
|
|
Search completed in 0.002 seconds
|