login
A006594
A Beatty sequence: floor(n*(1 + 1/e)).
(Formerly M0947)
4
1, 2, 4, 5, 6, 8, 9, 10, 12, 13, 15, 16, 17, 19, 20, 21, 23, 24, 25, 27, 28, 30, 31, 32, 34, 35, 36, 38, 39, 41, 42, 43, 45, 46, 47, 49, 50, 51, 53, 54, 56, 57, 58, 60, 61, 62, 64, 65, 67, 68, 69, 71, 72, 73, 75, 76, 77, 79, 80, 82, 83, 84, 86, 87, 88, 90, 91, 93, 94, 95, 97
OFFSET
1,2
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
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
Cf. A000572.
Sequence in context: A247778 A003511 A059567 * A172276 A260483 A143028
KEYWORD
nonn,changed
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), Feb 07 2001
STATUS
approved