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

A096487
Largest term in periodic part of continued fraction expansion of square root of n-th repunit.
1
2, 6, 20, 66, 210, 666, 2108, 6666, 21080, 66666, 210818, 666666, 2108184, 6666666, 21081850, 66666666, 210818510, 666666666, 2108185106, 6666666666, 21081851066, 66666666666, 210818510676, 666666666666, 2108185106778
OFFSET
2,1
FORMULA
a(n) = 2*A096483(n).
MATHEMATICA
Do[Print[Max[ContinuedFraction[((-1+10^n)/9)^(1/2)]]], {n, 2, 18}]
CROSSREFS
Cf. A096483.
Sequence in context: A156831 A027061 A279460 * A083323 A174846 A369431
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 25 2004
EXTENSIONS
More terms from Michel Marcus, Aug 26 2019
STATUS
approved