OFFSET
0,2
COMMENTS
Nearest integer to n*phi^3.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..10000
MATHEMATICA
Round[GoldenRatio^3*Range[0, 80]] (* G. C. Greubel, Oct 17 2023 *)
PROG
(PARI) a(n) = round(n*(((sqrt(5)+1))/2)^3); \\ Michel Marcus, Aug 28 2016
(Magma) [Round((2+Sqrt(5))*n): n in [0..80]]; // G. C. Greubel, Oct 17 2023
(SageMath) [round(golden_ratio^3*n) for n in range(81)] # G. C. Greubel, Oct 17 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved