OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..2500
FORMULA
a(n) = [1/|n*Pi-A022853(n)|].
EXAMPLE
a(7)=112 because [1/|7*Pi-22|] = [1/|-0.0088514|] = [112.976] = 112.
MATHEMATICA
a = {}; For[n = 1, n < 90, n++, AppendTo[a, Floor[1/(If[FractionalPart[n*Pi] > 1/2, Ceiling[n*Pi] - n*Pi, n*Pi - Floor[n*Pi]])]]]; a (* Stefan Steinerberger, Dec 05 2007 *)
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Franz Vrabec, Dec 04 2007
EXTENSIONS
More terms from Stefan Steinerberger, Dec 05 2007
STATUS
approved