OFFSET
1
COMMENTS
LINKS
FORMULA
EXAMPLE
PROG
(PARI)
A003415checked(n) = if(n<=1, 0, my(f=factor(n), s=0); for(i=1, #f~, if(f[i, 2]>=f[i, 1], return(0), s += f[i, 2]/f[i, 1])); (n*s));
A327936(n) = { my(f = factor(n)); for(k=1, #f~, f[k, 2] = (f[k, 2]>=f[k, 1])); factorback(f); };
A341999(n) = if(!n, n, while(n>1, n = A003415checked(n)); (!n));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 05 2023
STATUS
approved