OFFSET
1,3
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..1024
FORMULA
PROG
(PARI)
A297108(n) = if(1==omega(n), 2^(primepi(factor(n)[1, 1])-1), 0);
\\ A more complicated way which demonstrates the Moebius transform:
A048675(n) = { my(f = factor(n)); sum(k=1, #f~, f[k, 2]*2^primepi(f[k, 1]))/2; }; \\ This function after Michel Marcus
\\ And yet another way demonstrating the comment:
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Dec 25 2017
STATUS
approved