|
|
A135569
|
|
a(n) = S2(n)*2^n; where S2(n) is digit sum of n, n in binary notation.
|
|
1
|
|
|
0, 2, 4, 16, 16, 64, 128, 384, 256, 1024, 2048, 6144, 8192, 24576, 49152, 131072, 65536, 262144, 524288, 1572864, 2097152, 6291456, 12582912, 33554432, 33554432, 100663296, 201326592, 536870912, 805306368, 2147483648, 4294967296
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
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.
|
|
MAPLE
|
|
|
MATHEMATICA
|
Table[DigitCount[n, 2, 1]*2^n, {n, 0, 25}] (* G. C. Greubel, Oct 19 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|