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”).

A076590
First occurrence of n as a term in the continued fraction for zeta(2)=Pi^2/6.
0
1, 6, 12, 5, 37, 23, 8, 56, 83, 14, 107, 128, 111, 121, 20, 171, 346, 172, 57, 45, 607, 641, 968, 925, 239, 291, 44, 659, 396, 233, 186, 1353, 509, 739, 843, 681, 1020, 213, 577, 345, 670, 196, 287, 91, 54, 3510, 910, 800, 3462, 803, 503, 355, 3428, 1157, 247
OFFSET
1,2
PROG
(PARI) (15000 precision digits) v=contfrac(zeta(2)); a(n)=if(n<0, 0, s=1; while(abs(n-component(v, s))>0, s++); s)
CROSSREFS
Cf. A032523.
Sequence in context: A335413 A356119 A263538 * A113660 A122859 A315773
KEYWORD
base,nonn
AUTHOR
Benoit Cloitre, Oct 20 2002
STATUS
approved