OFFSET
1,2
COMMENTS
Let x be the solution of 1/x + sech(x) = 1. Then floor(n*x) and floor(n*cosh(x)) define a pair of Beatty sequences indexed by n; i.e., every positive integer is in exactly one of the sequences. See the Guide to related sequences at A329825.
First differs from A000201 at a(34) = 54 <> 55. - Peter Munn, Aug 27 2022
LINKS
Eric Weisstein's World of Mathematics, Beatty Sequence.
FORMULA
a(n) = floor(n*x), where x = 1.61749989... is the constant in A330062.
MATHEMATICA
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Clark Kimberling, Jan 04 2020
STATUS
approved