The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A080022 Numbers n such that log_pi(n) is closer to an integer than is log_pi(m) for any m with 2<=m

%I

%S 2,3,10,31,306,9488,9489,29808,29809,93648,294204,9122171,28658146,

%T 888582403,8769956796,27551631843,86556004192,854273519914,

%U 2683779414318,8431341691876,26487841119103,26487841119104

%N Numbers n such that log_pi(n) is closer to an integer than is log_pi(m) for any m with 2<=m<n.

%C Every term is floor(pi^k)+r for some integers k and r with k>=1 and -1 <= r <= 1.

%D Suggested by _Neil Fernandez_, Jan 19 2003

%e log_pi(2) = 1-0.394..., log_pi(3) = 1-0.0402..., log_pi(10) = 2+0.0114..., log_pi(31) = 3-0.000176...

%o (PARI) lista(nn) = {flmin = 1; for (i = 2, nn, li = log(i)/log(Pi); fli = abs(round(li) - li); if (fli < flmin, print1(i, ", "); flmin = fli;););} \\ _Michel Marcus_, Aug 29 2013

%Y Cf. A080021, A080023.

%K nonn

%O 1,1

%A _Dean Hickerson_, Jan 20 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 7 05:26 EST 2021. Contains 349567 sequences. (Running on oeis4.)