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!)
A262161 a(n) is the largest term in the continued fraction for a(n-1) + n^2/a(n-1), where a(1)=1. 1
1, 5, 6, 8, 11, 14, 17, 20, 24, 28, 32, 36, 40, 44, 49, 54, 59, 64, 69, 74, 79, 85, 91, 97, 103, 109, 115, 121, 127, 134, 141, 148, 155, 162, 169, 176, 183, 190, 198, 206, 214, 222, 230, 238, 246, 254, 262, 270, 278, 286, 295, 304, 313, 322, 331, 340, 349, 358, 367, 376, 385, 394, 404, 414, 424, 434, 444, 454, 464, 474, 484, 494, 504, 514, 524, 535, 546, 557, 568, 579, 590, 601, 612, 623, 634, 645, 656, 667, 678, 689, 701, 713, 725, 737, 749, 761, 773, 785, 797, 809 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
There is an asymptotic formula for this sequence (see formula line).
LINKS
FORMULA
a(n) = n*(sqrt(2*n/3)-1/5) + O(sqrt(n)) and this is sharp (see link).
EXAMPLE
We have a(7)=17 and the continued fraction for a(7) + 8^2/a(7) is [20, 1, 3, 4], hence a(8)=20.
MATHEMATICA
a = {1}; Do[AppendTo[a, Max@ ContinuedFraction[a[[n - 1]] + (n^2)/a[[n - 1]]]], {n, 2, 100}]; a (* Michael De Vlieger, Sep 14 2015 *)
PROG
(PARI) a=1; for(n=2, 100, a=vecmax(contfrac(a+n^2/a)); print1(a, ", "))
CROSSREFS
Sequence in context: A088766 A332549 A091091 * A290744 A120151 A022937
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Sep 13 2015
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 08:09 EDT 2024. Contains 371922 sequences. (Running on oeis4.)