OFFSET
1
LINKS
PROG
(PARI)
A359550(n) = { my(f=factor(n)); for(i=1, #f~, if(f[i, 1] <= f[i, 2], return(0))); return(1); }; \\ After code in A048103
A276085(n) = { my(f = factor(n)); sum(k=1, #f~, f[k, 2]*prod(i=1, primepi(f[k, 1]-1), prime(i))); };
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 10 2024
STATUS
approved