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

 

Logo


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

1

LINKS

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

Index entries for sequences that are fixed points of mappings

FORMULA

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

a(n) = 2n - 1 - A285347(n).

EXAMPLE

0->010->010100010->

MATHEMATICA

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

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

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

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

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

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

CROSSREFS

Cf. A189628, A189669, A189670, A189671.

Sequence in context: A172486 A288223 A288512 * A286907 A284851 A285966

Adjacent sequences:  A189665 A189666 A189667 * A189669 A189670 A189671

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 | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified October 20 15:14 EDT 2017. Contains 293612 sequences.