This site is supported by donations to The OEIS Foundation.

 Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing. Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A026513 a(n) = t(2+3n), where t = A001285 (Thue-Morse sequence). 4
 2, 1, 2, 2, 2, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 1, 1, 2, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 LINKS Michael De Vlieger, Table of n, a(n) for n = 0..9999 MATHEMATICA Array[1 + Mod[DigitCount[3 # + 2, 2, 1], 2] &, 105, 0] (* Michael De Vlieger, Oct 06 2019 *) PROG (PARI) a(n)=1+hammingweight(3*n+2)%2 \\ Charles R Greathouse IV, May 09 2016 CROSSREFS Cf. A001285, A026492, A026498. Sequence in context: A145740 A138516 A180580 * A106028 A105307 A281012 Adjacent sequences:  A026510 A026511 A026512 * A026514 A026515 A026516 KEYWORD nonn AUTHOR EXTENSIONS Name and Pari adapted to match offset in A001285 by Sean A. Irvine, Oct 05 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 December 10 15:09 EST 2019. Contains 329896 sequences. (Running on oeis4.)