login
A293414
The integer k that minimizes |k/n^2 - e|.
3
0, 3, 11, 24, 43, 68, 98, 133, 174, 220, 272, 329, 391, 459, 533, 612, 696, 786, 881, 981, 1087, 1199, 1316, 1438, 1566, 1699, 1838, 1982, 2131, 2286, 2446, 2612, 2784, 2960, 3142, 3330, 3523, 3721, 3925, 4135, 4349, 4569, 4795, 5026, 5263, 5505, 5752, 6005
OFFSET
0,2
LINKS
FORMULA
a(n) = floor(1/2 + (n^2)*e).
a(n) = A293412(n) if (fractional part of e*n^2) < 1/2, else a(n) = A293413(n).
MATHEMATICA
z = 120; r = E;
Table[Floor[r*n^2], {n, 0, z}]; (* A293412 *)
Table[Ceiling[r*n^2], {n, 0, z}]; (* A293413 *)
Table[Round[r*n^2], {n, 0, z}]; (* A293414 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 12 2017
STATUS
approved