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”).

A276859
First differences of the Beatty sequence A022843 for e.
3
2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2
OFFSET
1,1
LINKS
FORMULA
a(n) = floor(n*r) - floor(n*r - r), where r = e, n >= 1.
MAPLE
A276859:=n->floor(n*exp(1))-floor((n-1)*exp(1)): seq(A276859(n), n=1..200); # Wesley Ivan Hurt, Jan 10 2017
MATHEMATICA
z = 500; r = E; b = Table[Floor[k*r], {k, 0, z}] (* A022843 *)
Differences[b] (* A276859 *)
Differences[Floor[E*Range[0, 90]]] (* Harvey P. Dale, Nov 24 2016 *)
CROSSREFS
Sequence in context: A276869 A102313 A262955 * A007538 A242285 A238756
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 24 2016
STATUS
approved