OFFSET
1,3
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
MATHEMATICA
f[n_] := n!*FractionalPart[HarmonicNumber[n]]; Table[ f[n], {n, 22}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Jul 19 2004, based on a suggestion from Leroy Quet, Jun 18 2004
STATUS
approved