Write a function that takes an input number n and produces a sequence (i.e., all values up to and including the nth value) computed with
a(n) = floor(H(n) + exp(H(n))ln(H(n)))-sigma(n)
where H(n) is the nth harmonic number and sigma(n) is the sum of divisors of n.
Lagarias proved that a(n) >= 0 for all n only if the Riemann Hypothesis is true.

Solution Stats

17 Solutions

6 Solvers

Last Solution submitted on Dec 07, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...