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

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A189706 Fixed point of the morphism 0->011, 1->001. 5
0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1

LINKS

Table of n, a(n) for n=1..122.

FORMULA

a(3k-2)=0, a(3k-1)=1-a(k), a(3k)=1 for k>=1, a(0)=0.

EXAMPLE

0->011->011001001->

MATHEMATICA

t = Nest[Flatten[# /. {0->{0, 1, 1}, 1->{0, 0, 1}}] &, {0}, 5] (*A189706*)

f[n_] := t[[n]]

Flatten[Position[t, 0]] (*A189707*)

Flatten[Position[t, 1]] (*A189708*)

s[n_] := Sum[f[i], {i, 1, n}]; s[0] = 0;

Table[s[n], {n, 1, 120}] (*A189709*)

CROSSREFS

Cf. A189628, A189706, A189707, A189708.

Sequence in context: A241979 A200244 A189476 * A188321 A246146 A191162

Adjacent sequences:  A189703 A189704 A189705 * A189707 A189708 A189709

KEYWORD

nonn

AUTHOR

Clark Kimberling, Apr 25 2011

STATUS

approved

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

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

Last modified November 23 19:50 EST 2014. Contains 249865 sequences.