OFFSET
1,2
MAPLE
MATHEMATICA
Table[-EulerGamma + HarmonicNumber[1 + n, 2] + n*HarmonicNumber[1 + n, 2] - PolyGamma[0, 2 + n], {n, 1, 20}] // Denominator (* Vaclav Kotesovec, May 02 2024 *)
PROG
(PARI) a(n) = denominator(sum(k=1, n, sum(i=1, k, 1/i^2))); \\ Michel Marcus, May 01 2024
(Python)
from fractions import Fraction
def A370774(n): return sum(Fraction(n-i+1, i**2) for i in range(1, n+1)).denominator # Chai Wah Wu, May 01 2024
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
R. J. Mathar, May 01 2024
STATUS
approved