OFFSET
1,2
EXAMPLE
a(6) = 6! + 3! + 2! + 1! + 1! + 1! = 731.
MATHEMATICA
a[n_] := Sum[Floor[n/k]!, {k, 1, n}]; Array[a, 22] (* Amiram Eldar, Jul 22 2022 *)
PROG
(PARI) a(n) = sum(k=1, n, (n\k)!);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Jul 22 2022
STATUS
approved