%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(ncomponent(v,s))>0,s++); s)
%Y Cf. A032523.
%K base,nonn
%O 1,1
%A _Benoit Cloitre_, Oct 20 2002
