login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A095344 Length of n-th string generated by a Kolakoski(9,1) rule starting with a(1)=1. 5
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; refs; listen; history; internal format)
OFFSET

1,3

COMMENTS

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: A111219 A188276 A152752 * A141635 A014718 A145971

Adjacent sequences:  A095341 A095342 A095343 * A095345 A095346 A095347

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Jun 03 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 17:10 EST 2012. Contains 205644 sequences.