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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A134467 a(n) = n(n+1) - A000120(n), where A000120(n) = number of 1's in binary expansion of n. 1
0, 1, 5, 10, 19, 28, 40, 53, 71, 88, 108, 129, 154, 179, 207, 236, 271, 304, 340, 377, 418, 459, 503, 548, 598, 647, 699, 752, 809, 866, 926, 987, 1055, 1120, 1188, 1257, 1330, 1403, 1479, 1556, 1638, 1719, 1803, 1888, 1977, 2066, 2158, 2251, 2350, 2447, 2547 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
2^a(n) = denominator of [x^n] (1+x)^(1/2^n) for n>=0 (see A134098); similarily, 2^a(n) = denominator of [x^n] 1/(1-x)^(1/2^n) for n>=0 (see A134097).
MATHEMATICA
Table[n(n+1)-DigitCount[n, 2, 1], {n, 0, 50}] (* Harvey P. Dale, Jul 13 2013 *)
PROG
(PARI) a(n)=n*(n+1) - subst(Pol(binary(n)), x, 1)
(Magma) [n^2 + Valuation(Factorial(n), 2): n in [0..60]]; // Vincenzo Librandi, Jun 12 2019
CROSSREFS
Sequence in context: A358306 A168567 A185440 * A178132 A227844 A191595
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 27 2007
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)