OFFSET
1,1
COMMENTS
From Hieronymus Fischer, Apr 15 2012: (Start)
The sequence is well defined, since frac(n*Pi)>0 for n>0.
Let b(n,m)=|{a(k)| 1<=k<=n, a(k)>=m}| be the number of the first n terms which are >= m >= 1.
Then, lim b(n,m)/n = 1/m for n-->oo since frac(n*pi) is uniformly distributed. (End)
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
MATHEMATICA
Table[Floor[1/FractionalPart[n Pi]], {n, 100}] (* Bruno Berselli, Apr 15 2012 *)
PROG
(PARI) a(n) = floor(1/frac(n*Pi)); \\ Michel Marcus, Nov 16 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved