%I #23 Jul 06 2024 10:20:24
%S 3,6,9,12,15,18,21,24,27,30,33,37,40,43,46,49,52,55,58,61,64,67,70,74,
%T 77,80,83,86,89,92,95,98,101,104,108,111,114,117,120,123,126,129,132,
%U 135,138,141,145,148,151,154,157,160,163,166,169,172,175,178,182,185
%N Beatty sequence for e + 1/e.
%H Harry J. Smith, <a href="/A059563/b059563.txt">Table of n, a(n) for n = 1..2000</a>
%H Aviezri S. Fraenkel, Jonathan Levitt and Michael Shimshoni, <a href="http://dx.doi.org/10.1016/0012-365X(72)90012-X">Characterization of the set of values f(n)=[n alpha], n=1,2,...</a>, Discrete Math. 2 (1972), no. 4, 335-345.
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/BeattySequence.html">Beatty Sequence</a>.
%H <a href="/index/Be#Beatty">Index entries for sequences related to Beatty sequences</a>
%F a(n) = floor(n*(e+1/e)). - _Michel Marcus_, Jan 04 2015
%t Floor[Range[100]*(E + 1/E)] (* _Paolo Xausa_, Jul 06 2024 *)
%o (PARI) { default(realprecision, 100); b=exp(1) + 1/exp(1); for (n = 1, 2000, write("b059563.txt", n, " ", floor(n*b)); ) } \\ _Harry J. Smith_, Jun 28 2009
%Y Beatty complement is A059564.
%Y Cf. A137204 (e+1/e).
%K nonn,easy
%O 1,1
%A _Mitch Harris_, Jan 22 2001