login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A033165
First occurrence of n as a term in the continued fraction for zeta(3).
3
1, 12, 25, 2, 64, 27, 17, 140, 10, 119, 21, 239, 175, 78, 181, 46, 200, 4, 83, 619, 753, 412, 177, 197, 414, 138, 146, 561, 233, 29, 2276, 1549, 660, 889, 298, 1040, 2279, 322, 1274, 1882, 345, 2926, 673, 254, 1961, 1542, 1681, 296, 5423, 2423, 2557, 228
OFFSET
1,2
COMMENTS
Incorrectly indexed version of A229057.
LINKS
FORMULA
a(n) = 1 + A229057(n).
MATHEMATICA
With[{cfz3 = ContinuedFraction[Zeta[3], 6000]}, Flatten[Table[Position[cfz3, n, 1, 1], {n, 60}]]] (* Harvey P. Dale, Nov 11 2012 *)
PROG
(PARI) /* 1500 precision digits */ v=contfrac(zeta(3)); a(n)=if(n<0, 0, s=1; while(abs(n-component(v, s))>0, s++); s)
CROSSREFS
KEYWORD
nonn
EXTENSIONS
More terms from Randall L Rathbun, Feb 03 2002
STATUS
approved