login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A308260
a(n) = Product_{k=1..n, gcd(n,k) = 1} prime(k).
0
1, 2, 2, 6, 10, 210, 22, 30030, 1870, 149226, 3910, 6469693230, 11594, 7420738134810, 3215630, 741422598, 2569288370, 32589158477190044730, 28045886, 117288381359406970983270, 19644868330, 4812825965463978, 23916676633630, 3217644767340672907899084554130
OFFSET
0,2
FORMULA
A001221(a(n)) = A000010(n).
a(A000040(n)) = A002110(A006093(n)).
MATHEMATICA
a[n_] := Product[If[GCD[n, k] == 1, Prime[k], 1], {k, 1, n}]; Table[a[n], {n, 0, 23}]
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, May 30 2019
STATUS
approved