This site is supported by donations to The OEIS Foundation.

 Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS". Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A192085 Number of ones in binary expansion of n^3. 5
 0, 1, 1, 4, 1, 6, 4, 6, 1, 6, 6, 6, 4, 5, 6, 8, 1, 6, 6, 8, 6, 6, 6, 9, 4, 7, 5, 8, 6, 9, 8, 10, 1, 6, 6, 11, 6, 10, 8, 12, 6, 8, 6, 9, 6, 11, 9, 10, 4, 9, 7, 7, 5, 8, 8, 10, 6, 10, 9, 7, 8, 11, 10, 12, 1, 6, 6, 11, 6, 9, 11, 11, 6, 13, 10, 14, 8, 13, 12, 13 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,4 COMMENTS The binary weight of n^3. LINKS Nathaniel Johnston, Table of n, a(n) for n = 0..10000 FORMULA a(n) = A000120(A000578(n)). MAPLE A192085 := proc(n) return add(b, b=convert(n^3, base, 2)): end: seq(A192085(n), n=0..100); # Nathaniel Johnston, Jun 23 2011 PROG (MAGMA) [&+Intseq(n^3, 2): n in [0..79]];  // Bruno Berselli, Jun 24 2011 (Python) def A192085(n): ....return bin(n**3).count('1') # Chai Wah Wu, Sep 03 2014 (PARI) a(n)=hammingweight(n^3) \\ Charles R Greathouse IV, Sep 27 2016 CROSSREFS Cf. A000120, A000578, A007088, A159918. Sequence in context: A249074 A021710 A127555 * A117001 A206787 A192066 Adjacent sequences:  A192082 A192083 A192084 * A192086 A192087 A192088 KEYWORD nonn,base,easy AUTHOR Carl R. White, Jun 23 2011 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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.