OFFSET
2,2
LINKS
Danny Rorabaugh, Table of n, a(n) for n = 2..400
FORMULA
a(n) = n*n!-p(n), where p(n) is the n-th partial sum of (j!).
a(n) = t(n)-t(n-1), where t = A206817.
EXAMPLE
a(4) = (24-1) + (24-2) + (24-6) = 63.
MATHEMATICA
PROG
(Sage) [sum([factorial(n)-factorial(j) for j in range(1, n)]) for n in range(2, 21)] # Danny Rorabaugh, Apr 18 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Feb 12 2012
STATUS
approved