OFFSET
1,3
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
FORMULA
For all n >= 0, a(2^n) = 1.
PROG
(PARI) A347101(n) = { my(f=factor(n)); for(i=1, #f~, f[i, 1] = (nextprime(f[i, 1]+1)-f[i, 1])); factorback(f); };
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Antti Karttunen, Aug 19 2021
STATUS
approved