OFFSET
0,3
FORMULA
From Seiichi Manyama, Jan 05 2024: (Start)
a(n) = (n!)^2 * Sum_{k=0..n} (k/k!)^2.
a(n) = n^2 * A006040(n-1) for n > 0. (End)
MAPLE
seq(n!^2*add(1/k!^2, k=0..n-1), n=0..16); # Mark van Hoeij, May 13 2013
PROG
(PARI) a=[0]; for(n=1, 20, a=concat(a, (a[#a]+1)*n^2)); a \\ Charles R Greathouse IV, Jul 31 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Meherzad Lahewala, Jul 31 2011
STATUS
approved