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.

A095998 n! * (fractional part of n-th harmonic number).

Original entry on oeis.org

0, 1, 5, 2, 34, 324, 2988, 28944, 300816, 3371040, 793440, 49438080, 1121696640, 21930773760, 416139897600, 7965912729600, 156343306291200, 3169866941337600, 66629845591142400, 1454242012231680000
Offset: 1

Views

Author

Robert G. Wilson v, Jul 19 2004, based on a suggestion from Leroy Quet, Jun 18 2004

Keywords

Programs

  • Mathematica
    f[n_] := n!*FractionalPart[HarmonicNumber[n]]; Table[ f[n], {n, 22}]

Formula

a(n) = n! * fractional part ( harmonic number (n)).
a(n) also equals n!*(sum{k=1 to n} 1/k) (mod n!). - Leroy Quet, Mar 20 2008