OFFSET
1,8
COMMENTS
See A066272 for definition of anti-divisor.
EXAMPLE
For n=13, anti-divisors={2,3,5,9}; differences={1,2,4}; a(13) = smallest difference = 1.
MATHEMATICA
min[s_] := If[Length[s] > 0, Min[s], 0]; min /@ Differences /@ Table[Select[Range[2, n - 1], Abs[Mod[n, #] - #/2] < 1 &], {n, 100}] (* Amiram Eldar, Feb 03 2020 after Harvey P. Dale at A066272 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Sep 06 2002
EXTENSIONS
More terms from Amiram Eldar, Feb 03 2020
STATUS
approved