This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A076588 #13 Aug 25 2025 15:55:10 %S A076588 2,8,3,76,17,67,50,54,11,20,73,413,59,162,7,75,13,587,393,24,112,228, %T A076588 403,40,843,560,590,69,187,617,215,400,1182,259,1680,548,758,226,133, %U A076588 78,1265,589,96,169,3108,5892,258,261,4608,3810,2386,1251,2698,2374 %N A076588 First occurrence of n as a term in the continued fraction for Pi/4. %t A076588 With[{cf=ContinuedFraction[Pi/4,6000]},Table[Position[cf,n,1,1],{n,60}]]//Flatten (* _Harvey P. Dale_, Aug 25 2025 *) %o A076588 (PARI) \\ 15000 precision digits %o A076588 v=contfrac(Pi/4); a(n)=if(n<0,0,s=1; while(abs(n-component(v,s))>0,s++); s) %Y A076588 Cf. A032523, A070989. %K A076588 base,nonn,changed %O A076588 1,1 %A A076588 _Benoit Cloitre_, Oct 20 2002