OFFSET
0,3
LINKS
PROG
(PARI)
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); t };
A364557(n) = if(1==n, 1, 2^(primepi(vecmax(factor(n)[, 1]))+(bigomega(n)-omega(n))-1));
memoA364952 = Map();
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Aug 29 2023
STATUS
approved