OFFSET
2,2
COMMENTS
a(n) <= A131631(n).
LINKS
EXAMPLE
For n = 5, a(5) = lcm(!2, !3, !4, !5) = lcm(1, 2, 9, 44) = 396.
MAPLE
b:= proc(n) option remember;
`if`(n=0, 1, n*b(n-1)+(-1)^n)
end:
a:= n-> ilcm(seq(b(i), i=2..n)):
seq(a(n), n=2..15); # Alois P. Heinz, May 08 2020
MATHEMATICA
LCM@@@Subfactorial@Range[2, Range[2, 14]]
PROG
(PARI) a(n) = lcm(vector(n-1, k, if(k+1, round((k+1)!/exp(1)), 1))); \\ Altug Alkan, Nov 13 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Reshetnikov, Nov 13 2015
STATUS
approved