OFFSET
1,3
COMMENTS
Numerator of H(n) is a(n)*n + A126083(n).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..2310
EXAMPLE
a(6) = 8 because H(6) = 49/20 and floor(49/6) = 8.
MAPLE
H:=n->sum(1/k, k=1..n): a:=n->floor(numer(H(n))/n): seq(a(n), n=1..35); # Emeric Deutsch, Mar 22 2007
MATHEMATICA
seq = {}; s = 0; Do[s += 1/n; AppendTo[seq, Floor[Numerator[s]/n]], {n, 1, 30}]; seq (* Amiram Eldar, Dec 01 2020 *)
PROG
(PARI) a(n) = numerator(sum(k=1, n, 1/k))\n; \\ Michel Marcus, Feb 01 2019
(Python)
from sympy import harmonic
def A128437(n): return harmonic(n).p//n # Chai Wah Wu, Sep 27 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Mar 03 2007
EXTENSIONS
More terms from Emeric Deutsch, Mar 22 2007
STATUS
approved