login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A236250 Period lengths of convergents for continued fraction expansion of Pi. 1
1, 6, 13, 112, 51, 24, 15088, 12284, 88460, 1204, 459, 31824, 93210, 1864254, 531648, 456036, 8299090, 28574910, 1813560, 32552820, 33166008, 133585180, 2503410, 214098720, 3183870690, 7411133309730, 4852769490690, 2294509753536, 175964053944, 3336533898768 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..30.

FORMULA

a(n) = A007732(A002486(n+2)). - Michel Marcus, Jan 21 2014

EXAMPLE

2nd convergent is 22/7 = 3.142857 142857 ... and its period length is 6.

3rd convergent is 333/106 = 3.14 1509433962264 1509433962264 ... and its period length is 13.

PROG

(Sage)

st_clenov = 30

def A236250(n) :

   vu = continued_fraction_list(pi, nterms=st_clenov);

   p = []

   for i in (0..n) :

      p.append(convergents(vu)[i].period())

   return(p)

A236250(st_clenov-1);

CROSSREFS

Cf. A001203, A007732, A084407.

Sequence in context: A144535 A042641 A292121 * A042285 A041070 A248263

Adjacent sequences:  A236247 A236248 A236249 * A236251 A236252 A236253

KEYWORD

nonn,base

AUTHOR

Jani Melik, Jan 21 2014

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 25 09:11 EDT 2019. Contains 326323 sequences. (Running on oeis4.)