login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A279607
Beatty sequence for e/2; i.e., a(n) = floor(n*e/2).
9
1, 2, 4, 5, 6, 8, 9, 10, 12, 13, 14, 16, 17, 19, 20, 21, 23, 24, 25, 27, 28, 29, 31, 32, 33, 35, 36, 38, 39, 40, 42, 43, 44, 46, 47, 48, 50, 51, 53, 54, 55, 57, 58, 59, 61, 62, 63, 65, 66, 67, 69, 70, 72, 73, 74, 76, 77, 78, 80, 81, 82, 84, 85, 86, 88, 89
OFFSET
1,2
COMMENTS
The complement is A279608, the Beatty sequence for e/(e - 2).
MATHEMATICA
r = E/2; s = r/(r - 1); z = 10000;
Table[Floor[n*r], {n, 1, z}] ; (* A279607 *)
Table[Floor[n*s], {n, 1, z}] ; (* A279608 *)
PROG
(PARI) e = exp(1);
for(n=1, 100, print1(floor(n*e/2), ", ")) \\ Indranil Ghosh, Mar 30 2017
(Python)
import math
from mpmath import mp
mp.dps=100
print([int(math.floor(n*e/2)) for n in range(1, 101)]) # Indranil Ghosh, Mar 30 2017
CROSSREFS
Cf. A019739 (e/2), A279608.
Sequence in context: A039070 A059553 A249245 * A292636 A079709 A285496
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Dec 16 2016
STATUS
approved