OFFSET
1
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
Jeffrey Shallit, Cloitre's Self-Generating Sequence, arXiv:2501.00784 [math.CO], 2025.
FORMULA
Generated by infinitely iterating the morphism a->ab, b->cd, c->ef, d->cd, e->ab, f->gh, g->ef, h->gh, starting with a, followed by mapping a,d,f,g to 0 and b,c,e,h to 1.
MATHEMATICA
Abs[Differences[(1 + JacobiSymbol[-1, Range[100]])/2]] (* Paolo Xausa, Jan 03 2025 *)
Abs[Differences[Array[Boole[BitAnd[#, BitAnd[#, -#]*2] == 0] &, 100]]] (* Paolo Xausa, Jan 03 2025, after Joerg Arndt C++ code in A014577 *)
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Jeffrey Shallit, Dec 31 2024
STATUS
approved