



1, 34, 1156, 39304, 1336336, 45435424, 1544804416, 52523350144, 1785793904896, 60716992766464, 2064377754059776, 70188843638032384, 2386420683693101056, 81138303245565435904, 2758702310349224820736
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,2


COMMENTS

The compositions of n in which each natural number is colored by one of p different colors are called pcolored compositions of n. For n>=1, a(n) equals the number of 34colored compositions of n such that no adjacent parts have the same color.  Milan Janjic, Nov 17 2011


LINKS

T. D. Noe, Table of n, a(n) for n=0..100
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (34).


FORMULA

G.f.: 1/(134*x). [From Philippe Deléham, Nov 24 2008]
a(n)=34^n; a(n)=34*a(n1) n>0 a(0)=1 [From Vincenzo Librandi, Nov 21 2010]


PROG

(MAGMA)[34^n: n in [0..100]] [From Vincenzo Librandi, Nov 21 2010]


CROSSREFS

Sequence in context: A091761 A264134 A264019 * A041545 A189434 A167258
Adjacent sequences: A009975 A009976 A009977 * A009979 A009980 A009981


KEYWORD

nonn,easy


AUTHOR

N. J. A. Sloane.


STATUS

approved



