OFFSET
0,3
FORMULA
a(n) = floor(n*(1+sqrt(5))/Pi).
EXAMPLE
For n = 1000 we have that floor(1000*(1+sqrt(5))/Pi) = floor(1000*1.0300724296...) = floor(1030.0724296...) so a(1000) = 1030.
MAPLE
MATHEMATICA
f[n_] := Floor[n*(1+Sqrt[5])/Pi]; Array[f, 100, 0]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paulo Romero Zanconato Pinto, Sep 30 2016
STATUS
approved