OFFSET
0,6
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
Michael Gilleland, Some Self-Similar Integer Sequences.
MATHEMATICA
ThueMorse[Range[0, 500, 5]] + 1 (* Paolo Xausa, Nov 28 2024 *)
PROG
(PARI) a(n)=1+hammingweight(5*n)%2 \\ Charles R Greathouse IV, May 09 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Name and Pari code corrected by Sean A. Irvine, Oct 05 2019
STATUS
approved