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!)
A076589 First occurrence of n as a term in the continued fraction for sqrt(Pi). 0
1, 4, 3, 20, 43, 7, 32, 54, 40, 86, 91, 29, 10, 363, 705, 169, 341, 14, 181, 81, 307, 574, 153, 234, 175, 477, 552, 9, 2550, 743, 801, 2245, 239, 360, 402, 44, 1985, 1682, 395, 1074, 331, 285, 1278, 2097, 384, 3972, 857, 2240, 146, 9736, 924, 1690, 350, 1445 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(PARI) (15000 precision digits) v=contfrac(sqrt(Pi)); a(n)=if(n<0, 0, s=1; while(abs(n-component(v, s))>0, s++); s)
CROSSREFS
Cf. A032523.
Sequence in context: A270797 A280615 A281042 * A275679 A326818 A259229
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Oct 20 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)