The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A046818 Number of 1's in binary expansion of 3n+1. 2
 1, 1, 3, 2, 3, 1, 3, 3, 3, 3, 5, 2, 3, 2, 4, 4, 3, 3, 5, 4, 5, 1, 3, 3, 3, 3, 5, 3, 4, 3, 5, 5, 3, 3, 5, 4, 5, 3, 5, 5, 5, 5, 7, 2, 3, 2, 4, 4, 3, 3, 5, 4, 5, 2, 4, 4, 4, 4, 6, 4, 5, 4, 6, 6, 3, 3, 5, 4, 5, 3, 5, 5, 5, 5, 7, 4, 5, 4, 6, 6, 5, 5, 7, 6, 7, 1, 3, 3, 3, 3, 5, 3, 4 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS Reinhard Zumkeller, Table of n, a(n) for n = 0..10000 S. R. Finch, P. Sebah and Z.-Q. Bai, Odd Entries in Pascal's Trinomial Triangle, arXiv:0802.2654 [math.NT], 2008. FORMULA a(n) = A000120(3n+1). a(n) = A240883(n) + 1. - Reinhard Zumkeller, Apr 14 2014 MATHEMATICA Table[Count[IntegerDigits[3 n + 1, 2], 1], {n, 0, 92}] (* Jayanta Basu, Jun 29 2013 *) DigitCount[#, 2, 1]&/@(3Range[0, 100]+1) (* Harvey P. Dale, Apr 03 2021 *) PROG (Haskell) a046818 = a000120 . a016777 -- Reinhard Zumkeller, Apr 14 2014 CROSSREFS Cf. A000120, A016777 (3n+1). Sequence in context: A316830 A345440 A283976 * A177462 A106584 A213940 Adjacent sequences: A046815 A046816 A046817 * A046819 A046820 A046821 KEYWORD nonn,base AUTHOR N. J. A. Sloane STATUS approved

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

Last modified August 11 23:45 EDT 2024. Contains 375082 sequences. (Running on oeis4.)