OFFSET
1,7
COMMENTS
LINKS
PROG
(PARI)
A048673(n) = { my(f = factor(n)); for (i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); (1/2)*(1+factorback(f)); };
A064216(n) = { my(f = factor(n+n-1)); if((n>1 && f[1, 1]==2), f[1, 2] = 0); for (i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f); };
memoA349358 = Map();
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Nov 19 2021
STATUS
approved