|
| |
| |
|
|
|
1, 36, 1296, 46656, 1679616, 60466176, 2176782336, 78364164096, 2821109907456, 101559956668416, 3656158440062976, 131621703842267136, 4738381338321616896, 170581728179578208256, 6140942214464815497216
(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 36-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
Index to sequences with linear recurrences with constant coefficients, signature (36).
|
|
|
FORMULA
| G.f.: 1/(1-36*x). [From Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Nov 24 2008]
a(n)=36^n; a(n)=36*a(n-1) n>0 a(0)=1 [From Vincenzo Librandi, Nov 21 2010]
|
|
|
MATHEMATICA
| 36^Range[0, 20] (* From Harvey P. Dale, Mar 04 2011 *)
|
|
|
PROG
| (MAGMA)[36^n: n in [0..20]] [From Vincenzo Librandi, Nov 21 2010]
(PARI) a(n)=36^n \\ Charles R Greathouse IV, Nov 18 2011
|
|
|
CROSSREFS
| Sequence in context: A170755 A158700 A144128 * A041613 A203333 A158739
Adjacent sequences: A009977 A009978 A009979 * A009981 A009982 A009983
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|