A276856 First differences of the Beatty sequence A022840 for sqrt(6).
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
Links
- Clark Kimberling, Table of n, a(n) for n = 1..10000
Programs
Formula
a(n) = floor(n*r) - floor(n*r - r), where r = sqrt(6), n >= 1.