%I #19 Oct 07 2019 14:47:04
%S 1,1,1,1,1,2,1,2,1,1,2,2,1,1,2,1,1,1,1,1,2,1,2,2,1,1,1,1,2,2,1,2,1,1,
%T 1,1,1,2,1,1,2,2,1,1,2,1,2,1,1,1,1,1,1,2,1,1,2,2,2,2,1,1,2,1,1,1,1,1,
%U 1,2,1,2,1,1,2,2,1,2,1,2,2,2,2,2,1,2,1,1,2,2
%N a(n) = t(5n), where t = A001285 (Thue-Morse sequence).
%H Michael Gilleland, <a href="/selfsimilar.html">Some Self-Similar Integer Sequences</a>
%o (PARI) a(n)=1+hammingweight(5*n)%2 \\ _Charles R Greathouse IV_, May 09 2016
%Y Cf. A001285.
%K nonn
%O 0,6
%A _Clark Kimberling_
%E Name and Pari code corrected by _Sean A. Irvine_, Oct 05 2019
|