login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 6 13:11 EDT 2024. Contains 372293 sequences. (Running on oeis4.)