OFFSET
1,3
COMMENTS
LINKS
J. C. Lagarias, An elementary problem equivalent to the Riemann hypothesis, arXiv:math/0008177 [math.NT], 2000-2001; Am. Math. Monthly 109 (#6, 2002), 534-543.
OEIS Plot 2, A353130 vs A001065
MATHEMATICA
a[n_] := Module[{h = HarmonicNumber[n]}, Floor[h + Exp[h]*Log[h]] - n]; Array[a, 100] (* Amiram Eldar, Apr 26 2022 *)
PROG
(PARI) H(n) = sum(k=1, n, 1/k)
a(n) = floor(H(n) + exp(H(n))*log(H(n))) - n \\ Felix Fröhlich, Apr 26 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Apr 24 2022
STATUS
approved