OFFSET
1
COMMENTS
Equivalently, the nearest integer to the fractional part of n*Pi. - Rick L. Shepherd, Aug 24 2020
LINKS
Rick L. Shepherd, Table of n, a(n) for n = 1..10000
FORMULA
MAPLE
A191153:=n->floor(2*n*Pi) - 2*floor(n*Pi): seq(A191153(n), n=1..100); # Wesley Ivan Hurt, Jul 03 2014
MATHEMATICA
PROG
(PARI) a(n) = round(frac(n*Pi)) \\ Rick L. Shepherd, Aug 24 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 27 2011
STATUS
approved