OFFSET
1,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = n * floor((2^n-1)/n). - Alois P. Heinz, Jul 11 2009
MAPLE
a:= n-> n*floor((2^n-1)/n): seq(a(n), n=1..40); # Alois P. Heinz, Jul 11 2009
MATHEMATICA
Array[# Floor[(2^# - 1)/#] &, 31] (* Michael De Vlieger, Nov 04 2017 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Leroy Quet, Jun 28 2009
EXTENSIONS
More terms from Alois P. Heinz, Jul 11 2009
STATUS
approved