|
Search: id:A095344
|
|
|
| A095344 |
|
Length of n-th string generated by a Kolakoski(9,1) rule starting with a(1)=1. |
|
+0 6
|
|
| 1, 1, 9, 9, 49, 81, 281, 601, 1729, 4129, 11049, 27561, 71761, 182001, 469049, 1197049, 3073249, 7861441, 20154441, 51600201, 132217969, 338618769, 867490649, 2221965721, 5691928321, 14579791201, 37347504489, 95666669289
(list; graph; listen)
|
|
|
OFFSET
|
1,3
|
|
|
COMMENT
|
Each string is derived from the previous string using the Kolakoski(9,1) rule and the additonal condition : "string begins with 1 if previous string ends with 9 and vice-versa". The strings are : 1->9->111111111->919191919->11111111191111111119...->... and each one contains 1,1,9,9,31,... elements
|
|
FORMULA
|
a(1)=a(2)=1, a(n)=a(n-1)+4*a(n-2)-4*(-1)^n
|
|
CROSSREFS
|
Cf. A000002, A066983, A095342, A095343.
Sequence in context: A097988 A103646 A111219 this_sequence A014718 A112296 A038299
Adjacent sequences: A095341 A095342 A095343 this_sequence A095345 A095346 A095347
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Benoit Cloitre (benoit7848c(AT)orange.fr), Jun 03 2004
|
|
|
Search completed in 0.002 seconds
|