OFFSET
1,4
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
FORMULA
MATHEMATICA
A294895[n_] := Times @@ Prime[Select[Map[GCD[#, n/#] &, Divisors[n]], #>1 &] - 1];
Array[A294895, 100] (* Paolo Xausa, Feb 22 2024 *)
PROG
(PARI) A294895(n) = { my(m=1); fordiv(n, d, if(gcd(d, n/d)>1, m *= prime(gcd(d, n/d)-1))); m; };
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 21 2017
STATUS
approved