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!)
A060419 a(n) = floor(3^log_2(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
FORMULA
a(n) = floor(n^log_2(3)) where log_2(3) = 1.58496250...
MATHEMATICA
Floor[3^Log2[Range[0, 60]]] (* Harvey P. Dale, Jun 21 2020 *)
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); ) } \\ Harry J. Smith, Jul 04 2009
CROSSREFS
Cf. A006046 which shares the property that a(2^k)=3^k.
Sequence in context: A242067 A127722 A234813 * A005766 A211538 A368613
KEYWORD
nonn
AUTHOR
Henry Bottomley, Apr 05 2001
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 April 18 18:58 EDT 2024. Contains 371781 sequences. (Running on oeis4.)