OFFSET
1,2
COMMENTS
Let x be the solution of 1/x^3 + 1/3^x = 1. Then (floor(n x^3)) and (floor(n 3^x)) 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 x^3), where x = 1.12177497... is the constant in A329995.
MATHEMATICA
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jan 03 2020
STATUS
approved