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!)
A076588 First occurrence of n as a term in the continued fraction for Pi/4. 0
2, 8, 3, 76, 17, 67, 50, 54, 11, 20, 73, 413, 59, 162, 7, 75, 13, 587, 393, 24, 112, 228, 403, 40, 843, 560, 590, 69, 187, 617, 215, 400, 1182, 259, 1680, 548, 758, 226, 133, 78, 1265, 589, 96, 169, 3108, 5892, 258, 261, 4608, 3810, 2386, 1251, 2698, 2374 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PROG
(PARI) (15000 precision digits) v=contfrac(Pi/4); a(n)=if(n<0, 0, s=1; while(abs(n-component(v, s))>0, s++); s)
CROSSREFS
Cf. A032523.
Sequence in context: A256411 A218609 A268491 * A068565 A092042 A158934
KEYWORD
base,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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)