OFFSET
1,11
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
Alma D'Aniello, Aldo de Luca, and Alessandro De Luca, On Christoffel and standard words and their derivatives, arXiv:1602.03231 [cs.DM], 2016 (mentions this sequence).
PROG
(PARI) a(n)=hammingweight(bitxor(n, 3*n))-1; \\ Joerg Arndt, Feb 25 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 11 2017
STATUS
approved