OFFSET
1,2
FORMULA
For n != 2, a(n) = A034386(n-1). - Jeppe Stig Nielsen, Nov 04 2018
PROG
(PARI) a(n) = {if (n == 1, return (1)); if (n == 2, return (2)); f = factor((n-1)!); prod(i=1, #f~, f[i, 1]); } \\ Michel Marcus, Aug 30 2013
(PARI) a(n) = if(n==2, 2, prod(i=1, primepi(n-1), prime(i))) \\ Jeppe Stig Nielsen, Nov 04 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Aug 30 2013
STATUS
approved