|
| |
|
|
A060419
|
|
floor[3^log2(n)].
|
|
1
|
|
|
|
0, 1, 3, 5, 9, 12, 17, 21, 27, 32, 38, 44, 51, 58, 65, 73, 81, 89, 97, 106, 115, 124, 134, 143, 154, 164, 174, 185, 196, 207, 219, 231, 243, 255, 267, 280, 292, 305, 319, 332, 346, 359, 373, 388, 402, 417, 431, 446, 462, 477, 492, 508, 524, 540, 556, 573, 589
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
0,3
|
|
|
LINKS
|
Harry J. Smith, Table of n, a(n) for n=0,...,1000
|
|
|
FORMULA
|
a(n) = floor[n^log2(3)] where log2(3) = 1.58496250...
|
|
|
PROG
|
(PARI) { default(realprecision, 100); t=1/log(2); for (n=0, 1000, if (n==0, a=0, a=floor(3^(log(n)*t) + 0.0000001)); write("b060419.txt", n, " ", a); ) } [From Harry J. Smith, Jul 04 2009]
|
|
|
CROSSREFS
|
Cf. A006046 which shares the property that a(2^k)=3^k.
Sequence in context: A086845 A175098 A127722 * A005766 A211538 A190310
Adjacent sequences: A060416 A060417 A060418 * A060420 A060421 A060422
|
|
|
KEYWORD
|
nonn
|
|
|
AUTHOR
|
Henry Bottomley, Apr 05 2001
|
|
|
STATUS
|
approved
|
| |
|
|