login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A329988 Beatty sequence for 2^x, where 1/x + 1/2^x = 1. 3
2, 5, 8, 11, 14, 17, 20, 23, 25, 28, 31, 34, 37, 40, 43, 46, 49, 51, 54, 57, 60, 63, 66, 69, 72, 75, 77, 80, 83, 86, 89, 92, 95, 98, 101, 103, 106, 109, 112, 115, 118, 121, 124, 127, 129, 132, 135, 138, 141, 144, 147, 150, 153, 155, 158, 161, 164, 167, 170 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Let x be the solution of 1/x + 1/2^x = 1. Then (floor(n x)) and (floor(n 2^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 2^x), where x = 1.52980838275... is the constant in A329986.
MATHEMATICA
r = x /. FindRoot[1/x + 1/2^x == 1, {x, 1, 10}, WorkingPrecision -> 120]
RealDigits[r][[1]] (* A329986 *)
Table[Floor[n*r], {n, 1, 250}] (* A329987 *)
Table[Floor[n*2^r], {n, 1, 250}] (* A329988 *)
CROSSREFS
Cf. A329825, A329986, A329987 (complement).
Sequence in context: A276877 A329961 A078608 * A189934 A189386 A292661
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jan 02 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)