OFFSET
0,16
EXAMPLE
a(31)=4 because 4/13=0.31 (2DP).
MATHEMATICA
Table[LinearProgramming[{1, 0}, {{-n/100 + 0.005, 1}, {n/100 + 0.005, -1}}, {0, 0}, {1, 1}, Integers], {n, 0, 100}] // Transpose // Last
CROSSREFS
KEYWORD
fini,nonn,base
AUTHOR
Patrick D McLean, Mar 21 2014
STATUS
approved