OFFSET
0
COMMENTS
Characteristic function of A099309.
LINKS
FORMULA
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));
A341999(n) = if(!n, n, while(n>1, n = A003415checked(n)); (!n));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 28 2021
STATUS
approved