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

%I

%S 2,8,3,76,17,67,50,54,11,20,73,413,59,162,7,75,13,587,393,24,112,228,

%T 403,40,843,560,590,69,187,617,215,400,1182,259,1680,548,758,226,133,

%U 78,1265,589,96,169,3108,5892,258,261,4608,3810,2386,1251,2698,2374

%N First occurrence of n as a term in the continued fraction for Pi/4.

%o (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)

%Y Cf. A032523.

%K base,nonn

%O 1,1

%A _Benoit Cloitre_, Oct 20 2002

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 May 22 19:57 EDT 2022. Contains 353957 sequences. (Running on oeis4.)