OFFSET
1,2
COMMENTS
Beatty sequence for (5+sqrt(5))/4; complement of A022839.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Beatty Sequence
MATHEMATICA
With[{c=(5+Sqrt[5])/4}, Floor[c Range[80]]] (* Harvey P. Dale, Jul 20 2022 *)
PROG
(Magma) [Floor(n*(5+Sqrt(5))/4): n in [1..80]]; // G. C. Greubel, Oct 20 2023
(SageMath) [int(n*sqrt(5)*golden_ratio/2) for n in range(1, 81)] # G. C. Greubel, Oct 20 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jun 11 2005
STATUS
approved