login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A356142
a(n) is the reduced numerator of the arithmetic mean of the first n terms of the sequence [n + 1/n, n > 0].
1
2, 9, 47, 145, 1037, 469, 4283, 10841, 120529, 145981, 1913231, 2248181, 33938753, 39009533, 44438957, 100454479, 1916734943, 712651981, 15018824599, 662986195, 1213859861, 1327904701, 33283587163, 108432400555, 2934259832467, 3166619637067, 30671014001603, 32922658468103
OFFSET
1,1
MATHEMATICA
Table[Numerator[Mean[Table[k+1/k, {k, n}]]], {n, 28}]
PROG
(PARI) a(n) = numerator(sum(k=1, n, k+1/k)/n); \\ Michel Marcus, Jul 28 2022
CROSSREFS
Cf. A102928 (denominator), A356137.
Sequence in context: A306725 A032079 A002395 * A042793 A059272 A228341
KEYWORD
nonn,frac
AUTHOR
Stefano Spezia, Jul 27 2022
STATUS
approved