OFFSET
1,2
EXAMPLE
n=5: prime(5)=11, a(5)=(11-1)*(11-2)*(11-3)*(11-4)*(11-5) = 10.9.8.7.6 = 30240.
MATHEMATICA
Table[Apply[Times, Table[Prime[w]-j, {j, 1, w}]], {w, 1, 15}]
PROG
(PARI) a(n) = prod(j=1, n, prime(n) - j); \\ Michel Marcus, Aug 27 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jan 08 2004
EXTENSIONS
More terms from Michel Marcus, Aug 27 2019
STATUS
approved