OFFSET
1,4
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
prime(8) = 19, so a(8) = phi(rad(18)) = phi(6) = 2.
MATHEMATICA
Array[EulerPhi[Times @@ FactorInteger[Prime[#] - 1][[All, 1]]] &, 74] (* Michael De Vlieger, Aug 09 2022 *)
PROG
(PARI) a(n) = my(f=factor(prime(n)-1)[, 1]); prod(k=1, #f, f[k]-1) \\ following Michel Marcus's program for A173557
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jianing Song, Aug 09 2022
STATUS
approved