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!)
A004266 a(n) = round(1000*log_2(n)). 1

%I #15 Sep 08 2022 08:44:32

%S 0,1000,1585,2000,2322,2585,2807,3000,3170,3322,3459,3585,3700,3807,

%T 3907,4000,4087,4170,4248,4322,4392,4459,4524,4585,4644,4700,4755,

%U 4807,4858,4907,4954,5000,5044,5087,5129,5170,5209,5248,5285,5322,5358,5392,5426,5459

%N a(n) = round(1000*log_2(n)).

%H Marius A. Burtea, <a href="/A004266/b004266.txt">Table of n, a(n) for n = 1..1000</a>

%t Round[1000*Log[2,Range[50]]] (* _Harvey P. Dale_, May 07 2013 *)

%o (PARI) a(n)=round(1000*lg(n)) \\ _Charles R Greathouse IV_, Jul 25 2012

%o (Magma) [Round(1000*Log(2,n)):n in [1..50]]; // _Marius A. Burtea_, Aug 02 2019

%K nonn,easy

%O 1,2

%A _N. J. A. Sloane_

%E a(35)-a(44) from _Charles R Greathouse IV_, Jul 25 2012

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 August 18 13:06 EDT 2024. Contains 375269 sequences. (Running on oeis4.)