login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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
Sequence in context: A333315 A307889 A239951 * A027383 A364671 A280611
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 14:42 EDT 2024. Contains 371780 sequences. (Running on oeis4.)