|
|
A329844
|
|
Beatty sequence for (11+sqrt(61))/6.
|
|
3
|
|
|
3, 6, 9, 12, 15, 18, 21, 25, 28, 31, 34, 37, 40, 43, 47, 50, 53, 56, 59, 62, 65, 68, 72, 75, 78, 81, 84, 87, 90, 94, 97, 100, 103, 106, 109, 112, 115, 119, 122, 125, 128, 131, 134, 137, 141, 144, 147, 150, 153, 156, 159, 163, 166, 169, 172, 175, 178, 181
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Let r = (1+sqrt(61))/6. Then (floor(n*r)) and (floor(n*r + 5r/3)) 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
|
|
|
FORMULA
|
a(n) = floor(n*s), where s = (11+sqrt(61))/6.
|
|
MATHEMATICA
|
t = 5/3; r = Simplify[(2 - t + Sqrt[t^2 + 4])/2]; s = Simplify[r/(r - 1)];
Table[Floor[r*n], {n, 1, 200}] (* A329843 *)
Table[Floor[s*n], {n, 1, 200}] (* A329844 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|