cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A367328 The x-coordinate of the point where x + y = n, x and y are integers and x/y is as close as possible to e.

This page as a plain text file.
%I A367328 #23 Feb 18 2024 12:26:18
%S A367328 0,1,2,3,3,4,5,6,6,7,8,9,9,10,11,12,12,13,14,15,15,16,17,18,18,19,20,
%T A367328 20,21,22,23,23,24,25,26,26,27,28,28,29,30,31,31,32,33,34,34,35,36,37,
%U A367328 37,38,39,39,40,41,42,42,43,44,45,45,46,47,48,48,49,50
%N A367328 The x-coordinate of the point where x + y = n, x and y are integers and x/y is as close as possible to e.
%C A367328 a(n) is nondecreasing; lim_{n->oo} a(n) = oo.
%C A367328 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.
%F A367328 a(n) is always either ceiling(n*e/(1 + e)) or floor(n*e/(1 + e)) = A076538(n).
%e A367328 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.
%Y A367328 Cf. A001113 (e), A367329 (y-coordinate), A007676.
%K A367328 easy,frac,nonn
%O A367328 1,3
%A A367328 _Colin Linzer_, Nov 14 2023