OFFSET
1,2
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
I. G. Connell, Some properties of Beatty sequences II, Canad. Math. Bull., 3 (1960), 17-22.
MATHEMATICA
Table[Floor[n(1+1/E)], {n, 80}] (* Harvey P. Dale, Dec 05 2016 *)
PROG
(Magma)
A006594:= func< n | Floor(n*(1+Exp(-1))) >;
[A006594(n): n in [1..100]]; // G. C. Greubel, Aug 28 2025
(SageMath)
def A006594(n): return floor(n*(1+exp(-1)))
print([A006594(n) for n in range(1, 101)]) # G. C. Greubel, Aug 28 2025
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), Feb 07 2001
STATUS
approved
