login
A276856
First differences of the Beatty sequence A022840 for sqrt(6).
3
2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 3, 2, 3, 2, 3, 2
OFFSET
1,1
LINKS
FORMULA
a(n) = floor(n*r) - floor(n*r - r), where r = sqrt(6), n >= 1.
MATHEMATICA
z = 500; r = Sqrt[6]; b = Table[Floor[k*r], {k, 0, z}] (* A022840 *)
Differences[b] (* A276856 *)
CROSSREFS
Sequence in context: A060131 A343391 A024677 * A174296 A163178 A219545
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 24 2016
STATUS
approved