login
A004266
a(n) = round(1000*log_2(n)).
1
0, 1000, 1585, 2000, 2322, 2585, 2807, 3000, 3170, 3322, 3459, 3585, 3700, 3807, 3907, 4000, 4087, 4170, 4248, 4322, 4392, 4459, 4524, 4585, 4644, 4700, 4755, 4807, 4858, 4907, 4954, 5000, 5044, 5087, 5129, 5170, 5209, 5248, 5285, 5322, 5358, 5392, 5426, 5459
OFFSET
1,2
LINKS
MATHEMATICA
Round[1000*Log[2, Range[50]]] (* Harvey P. Dale, May 07 2013 *)
PROG
(PARI) a(n)=round(1000*lg(n)) \\ Charles R Greathouse IV, Jul 25 2012
(Magma) [Round(1000*Log(2, n)):n in [1..50]]; // Marius A. Burtea, Aug 02 2019
CROSSREFS
Sequence in context: A342975 A027662 A004265 * A004267 A319441 A202456
KEYWORD
nonn,easy
EXTENSIONS
a(35)-a(44) from Charles R Greathouse IV, Jul 25 2012
STATUS
approved