A137893 Fixed point of the morphism 0->100, 1->101, starting from a(1) = 1.
1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0
Offset: 1
References
- J. R. Noche, Generalized Choral Sequences, Matimyas Matematika, 31(2008), 25-28. [From Joel Reyes Noche (joel.noche(AT)up.edu.ph), Jul 09 2009]
Links
- Michael De Vlieger, Table of n, a(n) for n = 1..6561
Crossrefs
Programs
-
Mathematica
Flatten[Nest[#/.{0->{1,0,0},1->{1,0,1}}&,1,5]] (* Harvey P. Dale, Jul 29 2015 *)
-
PARI
a(n) = my(r); until(r,[n,r]=divrem(n,3)); 2-r; \\ Kevin Ryde, Nov 09 2021
Comments