login
This site is supported by donations 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

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

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

Adjacent sequences:  A076586 A076587 A076588 * A076590 A076591 A076592

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 11 18:50 EST 2019. Contains 329031 sequences. (Running on oeis4.)