login
A380939
a(n) is the number of positive integers v that belong alongside their opposites -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
1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
OFFSET
1,5
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}; there are two positive integers that appear alongside their opposites in this minimal set; so a(5) = 2.
PROG
(C++) // See Links section.
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Rémy Sigrist, Feb 08 2025
STATUS
approved