OFFSET
1,4
LINKS
PROG
(PARI)
A019565(n) = { my(m=1, p=1); while(n>0, p = nextprime(1+p); if(n%2, m *= p); n >>= 1); (m); };
A048673(n) = { my(f = factor(n)); for (i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); (1+factorback(f))/2; };
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 29 2022
STATUS
approved