G. C. Greubel, <a href="/A108598/b108598_1.txt">Table of n, a(n) for n = 1..10000</a>
G. C. Greubel, <a href="/A108598/b108598_1.txt">Table of n, a(n) for n = 1..10000</a>
reviewed
approved
proposed
reviewed
editing
proposed
Floora(n) = floor(n*((5+sqrt(5))/4)).
G. C. Greubel, <a href="/A108598/b108598_1.txt">Table of n, a(n) for n = 1..10000</a>
(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
approved
editing
editing
approved
With[{c=(5+Sqrt[5])/4}, Floor[c Range[80]]] (* Harvey P. Dale, Jul 20 2022 *)
approved
editing
_Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), _, Jun 11 2005
<a href="/Sindx_index/Be.html#Beatty">Index entries for sequences related to Beatty sequences</a>
<a href="/Sindx_Be.html#Beatty">Index entries for sequences related to Beatty sequences</a>
nonn,new
nonn