OFFSET
1,1
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
MATHEMATICA
Table[Sum[Floor[1/FractionalPart[k*Pi]], {k, n}], {n, 100}] (* Clark Kimberling, Aug 18 2012 *)
PROG
(PARI) a(n) = sum(k=1, n, floor(1/frac((k*Pi)))); \\ Michel Marcus, Jul 17 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved