OFFSET
0,3
LINKS
Paulo Romero Zanconato Pinto, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = floor(n*Pi/floor(Pi)) = floor(n*Pi/3).
EXAMPLE
For n = 1000 we have that floor(1000*Pi/3) = floor(1000*1.04719755...) = floor(1047.19755...) so a(1000) = 1047.
MAPLE
MATHEMATICA
f[n_] := Floor[n*Pi/Floor[Pi]]; Array[f, 100, 0]
PROG
(Maxima) makelist(floor(n*(%pi/3)), n, 0, 100);
(PARI) a(n) = n*Pi\3; \\ Michel Marcus, Sep 26 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paulo Romero Zanconato Pinto, Sep 26 2016
STATUS
approved