login
A380501
Least positive integer v that belongs alongside its opposite -v to the minimal set of integers to add to the set {A377091(k), k = 0..A380938(n)} in order to obtain an integer interval.
3
338, 365, 365, 393, 420, 420, 451, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, 684, 684, 722, 724, 724, 760, 761, 1058, 1058, 4140, 5304, 5513, 5513, 5515
OFFSET
1,1
LINKS
Rémy Sigrist, C++ program
EXAMPLE
For n = 5: A380938(5) = 840, {A377091(k), k = 0..840} = {-422, -419..419, 422}, to obtain an integer interval, we can add the minimal set {-421, -420, 420, 421}; the least positive integer that appears alongside its opposite in this minimal set is 420; so a(5) = 420.
PROG
(C++) // See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Feb 08 2025
STATUS
approved