OFFSET
1,1
COMMENTS
Let r = (1+sqrt(41))/5. Then (floor(n*r)) and (floor(n*r + 8r/5)) 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*s), where s = (9+sqrt(41))/5.
MATHEMATICA
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jan 02 2020
EXTENSIONS
Definition corrected by Georg Fischer, Jul 08 2021
STATUS
approved