A096487 Largest term in periodic part of continued fraction expansion of square root of n-th repunit.
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
Keywords
Crossrefs
Cf. A096483.
Programs
-
Mathematica
Do[Print[Max[ContinuedFraction[((-1+10^n)/9)^(1/2)]]], {n, 2, 18}]
Formula
a(n) = 2*A096483(n).
Extensions
More terms from Michel Marcus, Aug 26 2019