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!)
A293402 The integer k that minimizes |k/n^2 - tau|, where tau = (1+sqrt(5))/2 (golden ratio). 6
0, 2, 6, 15, 26, 40, 58, 79, 104, 131, 162, 196, 233, 273, 317, 364, 414, 468, 524, 584, 647, 714, 783, 856, 932, 1011, 1094, 1180, 1269, 1361, 1456, 1555, 1657, 1762, 1870, 1982, 2097, 2215, 2336, 2461, 2589 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = floor(1/2 + tau*n^2).
a(n) = A293400(n) if (fractional part of tau*n^2) < 1/2, else a(n) = A293401(n).
MATHEMATICA
z = 120; r = GoldenRatio;
Table[Floor[r*n^2], {n, 0, z}]; (* A293400 *)
Table[Ceiling[r*n^2], {n, 0, z}]; (* A293401 *)
Table[Round[r*n^2], {n, 0, z}]; (* A293402 *)
CROSSREFS
Sequence in context: A153274 A091766 A269706 * A192691 A360405 A256313
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 11 2017
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 23 12:27 EDT 2024. Contains 371912 sequences. (Running on oeis4.)