OFFSET
1,2
COMMENTS
The idea of this sequence is finding the nearest integer to the arithmetic mean between the two sides of the inequality that is equivalent to the Riemann hypothesis. The inequality is sigma(n)<H(n)+e^H(n)*log(H(n)), where H(n) are the harmonic numbers.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
For n=6, sigma(6)=12 and H(6)=1/1+1/2+1/3+1/4+1/5+1/6=2.45 and (2.45+e^2.45*log(2.45)+12)/2=12.417... and round(12.417...)=12; hence a(6)=12.
MATHEMATICA
f[x_] := x + Exp[x] * Log[x]; a[n_] := Round[(f[HarmonicNumber[n]] + DivisorSigma[1, n])/2]; Array[a, 100] (* Amiram Eldar, Nov 01 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Ahmad J. Masad, Nov 01 2024
STATUS
approved