cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A120263 Ratio of the numerator of n*HarmonicNumber[n] to the numerator of HarmonicNumber[n]: A096617(n)/A001008(n).

Original entry on oeis.org

1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 5, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 11, 1, 1, 1, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 25, 1, 1, 1, 1
Offset: 1

Views

Author

Alexander Adamchuk, Jun 26 2006

Keywords

Comments

a(n) is not equal to 1 when n belongs to A074791 - numbers n such that n does not divide the denominator of the n-th harmonic number.
a(n) is almost always equal to 1 except for n=6,18,20,21,33,42,54,.. when a(n) seems to be equal to a prime divisor of n.
a(n) could be equal to a squared prime divisor of n as for n=100,294,500,847,..

Crossrefs

Programs

  • Magma
    [Numerator(n*HarmonicNumber(n))/Numerator(HarmonicNumber(n)): n in [1..100]]; // G. C. Greubel, Sep 01 2018
  • Mathematica
    Numerator[Table[n*Sum[1/i,{i,1,n}],{n,1,500}]]/Numerator[Table[Sum[1/i,{i,1,n}],{n,1,500}]]
  • PARI
    {h(n) = sum(k=1,n,1/k)};
    for(n=1,100, print1(numerator(n*h(n))/numerator(h(n)), ", ")) \\ G. C. Greubel, Sep 01 2018
    

Formula

a(n) = A096617(n)/A001008(n) = numerator[n*Sum[1/i,{i,1,n}]] / numerator[Sum[1/i,{i,1,n}]].
a(n) = n / gcd(denominator(H(n)),n), where H(n) = sum(1/k, k=1..n). [Gary Detlefs, Sep 05 2011]
a(n) = A096617(n)*A110566(n)/A025529(n). [Arkadiusz Wesolowski, Mar 29 2012]