OFFSET
2,2
FORMULA
a(n) = n! * (H(n) - n/(n-1)). - Alois P. Heinz, Jul 13 2017
MATHEMATICA
Table[n!*(HarmonicNumber[n] - n/(n - 1)), {n, 2, 22}] (* Michael De Vlieger, Jul 13 2017 *)
PROG
(Python)
from sympy import factorial, harmonic
def a(n): return factorial(n-2)*(harmonic(n)*(n-1) - n)*n
print([a(n) for n in range(2, 26)]) # Indranil Ghosh, Jul 14 2017
CROSSREFS
KEYWORD
sign
AUTHOR
Joseph Wheat, Jul 12 2017
EXTENSIONS
More terms from Alois P. Heinz, Jul 13 2017
STATUS
approved