The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A077627 Largest term in periodic part of continued fraction expansion of square root of -1+3^n. 1
2, 4, 10, 16, 30, 52, 92, 160, 280, 484, 840, 1456, 2524, 4372, 7574, 13120, 22726, 39364, 68182, 118096, 204550, 354292, 613654, 1062880, 1840964, 3188644, 5522896, 9565936, 16568690, 28697812, 49706070, 86093440, 149118214, 258280324, 447354646, 774840976, 1342063940 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(2*m) = 2*(3^m-1); in general a(n) is close to 2*(3^(n/2)-1) and for any n, 0 <= a(n) - 2*(3^(n/2)-1) < 2. Conjecture: a(n)=ceiling(2*(3^(n/2)-1)) except for n=3, 9, 27 and all powers of 3, in this case a(n)=1+ceiling(2*(3^(n/2)-1)). - Benoit Cloitre, Nov 24 2002
MATHEMATICA
Table[Max[Last[ContinuedFraction[Sqrt[ -1+3^u]]]], {u, 1, 32}]
CROSSREFS
Sequence in context: A032246 A219901 A141138 * A228136 A153927 A117862
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 13 2002
EXTENSIONS
a(31)-a(37) from Chai Wah Wu, Oct 01 2019
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 June 7 18:53 EDT 2024. Contains 373206 sequences. (Running on oeis4.)