OFFSET
1,3
COMMENTS
Sets of n successive Stieltjes constants of the same sign occur only finitely many times, so for each n there exists a first and a last such set.
For the indices of the Stieltjes constants at which the last set of exactly n successive constants of the same sign begins, see A354879.
Sequence generated using the 10^6 Stieltjes constants computed by Krzysztof Maslanka.
a(23) > 10^6.
FORMULA
EXAMPLE
a(1) = 0 because StieltjesGamma(0) is the first (and the last also) Stieltjes constant that is not part of a run of more than one consecutive Stieltjes constant of the same sign.
a(5) = 17 because the set of 5 successive constants StieltjesGamma(17) = 0.000026277, StieltjesGamma(18) = 0.000307368, StieltjesGamma(19) = 0.000503605, StieltjesGamma(20) = 0.000466344 and StieltjesGamma(21) = 0.000104438 have the same sign (positive), and no lower-indexed Stieltjes constant begins a set of 5 consecutive Stieltjes constants of the same sign.
MATHEMATICA
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Artur Jasinski, Jun 09 2022
STATUS
approved