login
A136442
a(3n) = 1, a(3n-1) = 0 and a(3n+1) = a(n).
1
1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0
OFFSET
0,1
COMMENTS
Relative of Stewart's choral sequence.
In fact, the binary complement of Stewart's choral sequence A116178. - Michel Dekking, Dec 06 2019
A generalized choral sequence c(3n+r_0)=0, c(3n+r_1)=1, c(3n+r_c)=c(n), with r_0=2, r_1=0, and r_c=1. [Joel Reyes Noche (joel.noche(AT)up.edu.ph), Jul 09 2009]
Fixed point of the morphism 0->100, 1->110. - Michel Dekking, Dec 06 2019
REFERENCES
J. R. Noche, Generalized Choral Sequences, Matimyas Matematika, 31(2008), 25-28.
PROG
(PARI) lista(nn) = {my(v=vector(3*nn)); for(k=0, nn-1, v[3*k+1]=1; v[3*k+3]=0; v[3*k+2]=v[k+1]); v; } \\ Jinyuan Wang, Dec 07 2019
CROSSREFS
Cf. A116178.
Sequence in context: A089885 A190233 A143242 * A168030 A128431 A290452
KEYWORD
easy,nonn
AUTHOR
Joel Reyes Noche (joel.noche(AT)up.edu.ph), Apr 03 2008
STATUS
approved