login
A249154
(n+1) times the number of 1's in the binary expansion of n.
2
0, 2, 3, 8, 5, 12, 14, 24, 9, 20, 22, 36, 26, 42, 45, 64, 17, 36, 38, 60, 42, 66, 69, 96, 50, 78, 81, 112, 87, 120, 124, 160, 33, 68, 70, 108, 74, 114, 117, 160, 82, 126, 129, 176, 135, 184, 188, 240, 98, 150, 153, 208, 159, 216, 220, 280, 171, 232, 236, 300, 244, 310, 315, 384, 65
OFFSET
0,2
FORMULA
a(n) = (n+1) * A000120(n).
a(n) = A000120(n) + A245788(n).
a(n) = 2*A000788(n) - A187059(n).
PROG
(Scheme) (define (A249154 n) (* (+ n 1) (A000120 n)))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Nov 02 2014
STATUS
approved