OFFSET
1,2
COMMENTS
Let r = (7+sqrt(65))/8. Then (floor(n*r)) and (floor(n*r + r/4)) are a pair of Beatty sequences; i.e., every positive integer is in exactly one of the sequences. See the Guide to related sequences at A329825.
LINKS
Eric Weisstein's World of Mathematics, Beatty Sequence.
FORMULA
a(n) = floor(n*r), where r = (7+sqrt(65))/8.
MATHEMATICA
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Dec 31 2019
STATUS
approved