OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
FORMULA
For all n we have 2/n <= a(n+1)/a(n)<= 4. This holds because a(2^n -1)= n*2^(2^n -1); a(2^n) = 2^2^n; a(2^n +1) = 4*2^2^n.
a(n) = A000120(n)*2^n. - R. J. Mathar, Mar 03 2008
MAPLE
A000120 := proc(n) add(i, i=convert(n, base, 2)) ; end: A135569 := proc(n) A000120(n)*2^n ; end: seq(A135569(n), n=0..80) ; # R. J. Mathar, Mar 03 2008
MATHEMATICA
Table[DigitCount[n, 2, 1]*2^n, {n, 0, 25}] (* G. C. Greubel, Oct 19 2016 *)
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Ctibor O. Zizka, Feb 23 2008, Mar 03 2008
EXTENSIONS
Corrected and extended by R. J. Mathar, Mar 03 2008
STATUS
approved