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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A072399 Denominator of best approximation to Pi with denominator <= 10^n. 7
1, 7, 7, 113, 113, 99532, 364913, 1725033, 78256779, 811528438, 6701487259, 6701487259, 567663097408, 2851718461558, 44485467702853, 136308121570117, 9627687726852338, 21208174623389167, 842468587426513207 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..18.

EXAMPLE

A072399(6) = 364913 because A072398(6)/A072399(6) = 1146408/364913 is the best rational approximation to Pi with positive denominator <= 10^6 = 1000000. This approximation is accurate to 0.000000000051271%.

MATHEMATICA

nmax = 18; cv = Convergents[Pi, 2*nmax] // Reverse; a[n_] := Select[cv, Denominator[#] <= 10^n &, 1] // Denominator // First; Table[a[n], {n, 0, nmax}] (* Jean-Fran├žois Alcover, Jan 04 2013 *)

PROG

(PARI) for(n=0, 40, print1(denominator(bestappr(Pi, 10^n)), ", ")) (Finds these approximations very quickly.)

CROSSREFS

Cf. A072398 (numerators), A000796 (Pi), A068089, A002485/A002486.

Sequence in context: A269937 A065240 A178708 * A001988 A099739 A261128

Adjacent sequences:  A072396 A072397 A072398 * A072400 A072401 A072402

KEYWORD

easy,frac,nice,nonn

AUTHOR

Rick L. Shepherd, Jun 15 2002

STATUS

approved

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 4 08:25 EDT 2020. Contains 336201 sequences. (Running on oeis4.)