|
| |
| |
|
|
|
1, 23, 529, 12167, 279841, 6436343, 148035889, 3404825447, 78310985281, 1801152661463, 41426511213649, 952809757913927, 21914624432020321, 504036361936467383, 11592836324538749809, 266635235464391245607, 6132610415680998648961, 141050039560662968926103, 3244150909895248285300369, 74615470927590710561908487, 1716155831334586342923895201
(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 23-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-23*x). [From Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Nov 23 2008]
a(n)=23^n; a(n)=23*a(n-1) n>0 a(0)=1 [From Vincenzo Librandi, Nov 21 2010]
|
|
|
MATHEMATICA
| 23^Range[0, 20] (* From Harvey P. Dale, Apr 04 2011 *)
|
|
|
PROG
| (Other) sage: [lucas_number1(n, 23, 0) for n in xrange(1, 17)]# [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Apr 29 2009]
(MAGMA)[23^n: n in [0..100]] [From Vincenzo Librandi, Nov 21 2010]
|
|
|
CROSSREFS
| Sequence in context: A014960 A207010 A171297 * A147642 A057686 A042014
Adjacent sequences: A009964 A009965 A009966 * A009968 A009969 A009970
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|