OFFSET
1,3
COMMENTS
a(n) is nondecreasing; lim_{n->oo} a(n) = oo.
Swapping the x and y coordinate of the sequence does not yield the sequence defined as the point where x + y = n, x and y are integers and x/y is as close as possible to 1/e even when excluding terms that would lead to a division by 0.
FORMULA
a(n) is always either ceiling(n*e/(1 + e)) or floor(n*e/(1 + e)) = A076538(n).
EXAMPLE
For n = 3, the possible points are (0,3), (1,2), (2,1) as any negative value would would be further from e than 0/3. The closest value to e out of these is 2/1 so a(3) = 2.
CROSSREFS
KEYWORD
easy,frac,nonn
AUTHOR
Colin Linzer, Nov 14 2023
STATUS
approved