A108598 a(n) = floor(n*((5+sqrt(5))/4)).
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
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 1..10000
- Eric Weisstein's World of Mathematics, Beatty Sequence
- Index entries for sequences related to Beatty sequences
Programs
-
Magma
[Floor(n*(5+Sqrt(5))/4): n in [1..80]]; // G. C. Greubel, Oct 20 2023
-
Mathematica
With[{c=(5+Sqrt[5])/4},Floor[c Range[80]]] (* Harvey P. Dale, Jul 20 2022 *)
-
SageMath
[int(n*sqrt(5)*golden_ratio/2) for n in range(1,81)] # G. C. Greubel, Oct 20 2023
Comments