login
A108598
a(n) = floor(n*((5+sqrt(5))/4)).
21
1, 3, 5, 7, 9, 10, 12, 14, 16, 18, 19, 21, 23, 25, 27, 28, 30, 32, 34, 36, 37, 39, 41, 43, 45, 47, 48, 50, 52, 54, 56, 57, 59, 61, 63, 65, 66, 68, 70, 72, 74, 75, 77, 79, 81, 83, 85, 86, 88, 90, 92, 94, 95, 97, 99, 101, 103, 104, 106, 108, 110, 112, 113, 115, 117, 119, 121
OFFSET
1,2
COMMENTS
Beatty sequence for (5+sqrt(5))/4; complement of A022839.
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
Sequence in context: A215001 A187318 A262770 * A184808 A329837 A214315
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jun 11 2005
STATUS
approved