[go: up one dir, main page]

login
A077625
Largest term in periodic part of continued fraction expansion of square root of -1+2^n or 0 if -1+2^n is square.
2
0, 2, 4, 6, 10, 14, 22, 30, 44, 62, 90, 126, 180, 254, 362, 510, 724, 1022, 1448, 2046, 2896, 4094, 5792, 8190, 11584, 16382, 23170, 32766, 46340, 65534, 92680, 131070, 185362, 262142, 370726, 524286, 741454, 1048574, 1482910, 2097150, 2965820, 4194302, 5931640
OFFSET
1,2
COMMENTS
a(n) = 0 iff n = 1, as a consequence of Catalan's conjecture or Mihăilescu's theorem. - Bernard Schott, Apr 24 2022
LINKS
MATHEMATICA
Table[Max[Last[ContinuedFraction[Sqrt[ -1+2^u]]]], {u, 1, 32}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 13 2002
EXTENSIONS
Definition clarified, a(1) corrected and a(33)-a(43) added by Chai Wah Wu, Apr 19 2022
STATUS
approved