|
Search: id:A082894
|
|
|
| A082894 |
|
a(n)=nk, the closest number to 2^n which is divisible by n. |
|
+0 7
|
|
| 2, 4, 9, 16, 30, 66, 126, 256, 513, 1020, 2046, 4092, 8190, 16380, 32775, 65536, 131070, 262152, 524286, 1048580, 2097144, 4194300, 8388606, 16777224, 33554425, 67108860, 134217729, 268435468, 536870910, 1073741820, 2147483646
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
FORMULA
|
a(n)=n.floor[(floor(n/2)+2^n)/n]
|
|
EXAMPLE
|
n=11: 2^11=2048 is between 2046=11.186 and 2035=11.185,
closer to a[11]=2046;
n=2^k powers of two are fixed points of this map.
|
|
MATHEMATICA
|
Table[n*Floor[(Floor[n/2]+2^n)/n], {n, 1, 100}]
|
|
CROSSREFS
|
Cf. A082893-A082900.
Sequence in context: A034446 A034452 A034449 this_sequence A091437 A131337 A062791
Adjacent sequences: A082891 A082892 A082893 this_sequence A082895 A082896 A082897
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Labos E. (labos(AT)ana.sote.hu), Apr 22 2003
|
|
|
Search completed in 0.002 seconds
|