|
| |
| |
|
|
|
1, 34, 1156, 39304, 1336336, 45435424, 1544804416, 52523350144, 1785793904896, 60716992766464, 2064377754059776, 70188843638032384, 2386420683693101056, 81138303245565435904, 2758702310349224820736
(list; graph; refs; listen; history; 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 p-colored compositions of n. For n>=1, a(n) equals the number of 34-colored 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
|
|
|
FORMULA
| G.f.: 1/(1-34*x). [From Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Nov 24 2008]
a(n)=34^n; a(n)=34*a(n-1) 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: A158696 A029547 A091761 * A041545 A189434 A167258
Adjacent sequences: A009975 A009976 A009977 * A009979 A009980 A009981
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|