|
Search: id:A095342
|
|
|
| A095342 |
|
Number of elements in n-th string generated by a Kolakoski(5,1) rule starting with a(1)=1. |
|
+0 5
|
|
| 1, 1, 5, 5, 17, 25, 61, 109, 233, 449, 917, 1813, 3649, 7273, 14573, 29117, 58265, 116497, 233029, 466021, 932081, 1864121, 3728285, 7456525, 14913097, 29826145, 59652341, 119304629, 238609313, 477218569, 954437197, 1908874333, 3817748729
(list; graph; listen)
|
|
|
OFFSET
|
1,3
|
|
|
COMMENT
|
Each string is derived from the previous string using the Kolakoski(5,1) rule and the additional condition: "string begins with 1 if previous string ends with 5 and vice-versa". The strings are : 1->5->11111->51515->11111511111511111->... and each one contains 1,1,5,5,17,... elements.
|
|
FORMULA
|
a(1)=a(2)=1, a(n)=a(n-1)+2*a(n-2)-2*(-1)^n
|
|
CROSSREFS
|
Cf. A000002, A066983, A095343, A095344.
Sequence in context: A079317 A125256 A075684 this_sequence A100745 A028892 A039914
Adjacent sequences: A095339 A095340 A095341 this_sequence A095343 A095344 A095345
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Benoit Cloitre (benoit7848c(AT)orange.fr), Jun 03 2004
|
|
|
Search completed in 0.002 seconds
|