login
A074749
Smallest difference between consecutive anti-divisors of n (ordered by size).
0
0, 0, 0, 0, 1, 0, 1, 2, 4, 1, 1, 3, 1, 1, 4, 8, 1, 1, 1, 5, 4, 1, 1, 9, 1, 1, 1, 2, 1, 8, 1, 2, 1, 1, 1, 16, 1, 1, 1, 6, 1, 1, 1, 5, 1, 1, 1, 13, 1, 1, 4, 1, 1, 8, 1, 13, 1, 1, 1, 1, 1, 1, 1, 40, 1, 3, 1, 1, 4, 1, 1, 2, 1, 1, 4, 1, 1, 1, 1, 4, 1, 1, 1, 5, 1, 1
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
Sequence in context: A186520 A158570 A295224 * A194524 A117136 A362142
KEYWORD
nonn
AUTHOR
Jason Earls, Sep 06 2002
EXTENSIONS
More terms from Amiram Eldar, Feb 03 2020
STATUS
approved