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!)
A077624 Largest term in periodic part of continued fraction expansion of square root of 2^n + 1 or 0 if 2^n + 1 is a square. 12
2, 4, 0, 8, 10, 16, 22, 32, 44, 64, 90, 128, 180, 256, 362, 512, 724, 1024, 1448, 2048, 2896, 4096, 5792, 8192, 11584, 16384, 23170, 32768, 46340, 65536, 92680, 131072, 185362, 262144, 370726, 524288, 741454, 1048576, 1482910, 2097152, 2965820, 4194304, 5931640 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) = 0 iff n = 3, as a consequence of Catalan's conjecture or Mihăilescu's theorem. - Bernard Schott, Apr 22 2022
LINKS
MATHEMATICA
Table[Max[Last[ContinuedFraction[Sqrt[1+2^u]]]], {u, 1, 32}]
CROSSREFS
Sequence in context: A115341 A368609 A101160 * A103191 A324717 A295793
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 13 2002
EXTENSIONS
Definition clarified, a(3) 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 24 11:12 EDT 2024. Contains 371936 sequences. (Running on oeis4.)