login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A356982 Fixed point of the morphism 0->010, 1->000. 2
0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
An element of the list of "type 3-3" sequences (see A189628).
(a(n)) has the same set of subsequences as A182581.
Proof: A182581 is fixed point of sigma: 0->001, 1->000 . Let tau: 0->010, 1->000. Then sigma and tau are conjugate morphisms:
for any 0-1-word w one has sigma(w) 0 = 0 tau(w). With induction one proves from this that for all n>1
P(n) tau^{n+1}(0) = sigma^{n+1}(0) P(n),
P(n-1) tau^{n+1}(1) = sigma^{n+1}(1) P(n-1),
where P(n) := sigma^{n}(0)sigma^{n-1}(0)...sigma(0)0.
This implies that the fixed points have the same subwords.
LINKS
FORMULA
a(n) = A253786(n) mod 2. - Kevin Ryde, Sep 09 2022
MATHEMATICA
With[{nmax=200}, Mod[IntegerExponent[2Range[nmax]-1, 3], 2]] (* or *)
Nest[Flatten[ReplaceAll[#, {0->{0, 1, 0}, 1->{0, 0, 0}}]]&, {0}, 5] (* Paolo Xausa, Nov 09 2023 *)
PROG
(PARI) a(n) = n--; my(ret=0, r); while([n, r]=divrem(n, 3); r==1, ret=!ret); ret; \\ Kevin Ryde, Sep 13 2022
CROSSREFS
Sequence in context: A355202 A353556 A228495 * A284683 A369968 A288673
KEYWORD
nonn,easy
AUTHOR
Michel Dekking, Sep 09 2022
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 16:52 EDT 2024. Contains 371794 sequences. (Running on oeis4.)