The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A026492 a(n) = t(3n), where t = A001285 (Thue-Morse sequence). 4
 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,8 LINKS Michael De Vlieger, Table of n, a(n) for n = 0..10000 Michael Gilleland, Some Self-Similar Integer Sequences MATHEMATICA Array[1 + Mod[DigitCount[3 #, 2, 1], 2] &, 105, 0] (* Michael De Vlieger, Oct 03 2019 *) PROG (PARI) a(n)=1+hammingweight(3*n)%2 \\ Charles R Greathouse IV, May 09 2016 CROSSREFS Cf. A001285, A026498, A026513. Sequence in context: A158854 A119849 A246588 * A182284 A139551 A022931 Adjacent sequences:  A026489 A026490 A026491 * A026493 A026494 A026495 KEYWORD nonn AUTHOR EXTENSIONS Name and Pari adapted to match offset in A001285 by Sean A. Irvine, Oct 02 2019 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified April 16 05:26 EDT 2021. Contains 343030 sequences. (Running on oeis4.)