login
A128093
a(n) = smallest multiple of n which is >= 2^n.
2
2, 4, 9, 16, 35, 66, 133, 256, 513, 1030, 2057, 4104, 8203, 16394, 32775, 65536, 131087, 262152, 524305, 1048580, 2097165, 4194322, 8388629, 16777224, 33554450, 67108886, 134217729, 268435468, 536870939, 1073741850, 2147483677
OFFSET
1,1
LINKS
FORMULA
a(n) = n * ceiling(2^n/n) = n * A053638(n).
MATHEMATICA
f[n_] := n*Ceiling[2^n/n]; Array[f, 33] (* Ray Chandler, Feb 19 2007 *)
PROG
(Python)
def A128093(n): return (m:=1<<n)+(n-k if (k:=m%n) else -k) # Chai Wah Wu, Aug 24 2023
CROSSREFS
Sequence in context: A062791 A203320 A005980 * A056331 A056336 A203318
KEYWORD
nonn
AUTHOR
Leroy Quet, Feb 14 2007
EXTENSIONS
Extended by Ray Chandler, Feb 19 2007
STATUS
approved