login
A328310
a(n) = A051903(A003415(n)) - A051903(n).
10
-1, -1, 0, -1, 0, -1, -1, -1, 0, -1, 2, -1, 1, 2, 1, -1, -1, -1, 1, 0, 0, -1, -1, -1, 0, 0, 3, -1, 0, -1, -1, 0, 0, 1, 0, -1, 0, 3, -1, -1, 0, -1, 2, -1, 1, -1, 0, -1, 0, 1, 1, -1, 1, 3, -1, 0, 0, -1, 0, -1, 0, -1, 0, 1, 0, -1, 1, 0, 0, -1, -1, -1, 0, -1, 2, 1, 0, -1, 0, -1, 0, -1, 0, 0, 1, 4, -1, -1, -1, 1, 3, 0, 1, 2
OFFSET
2,11
LINKS
FORMULA
a(n) = A051903(A003415(n)) - A051903(n).
a(n) = A328311(n) - 1.
PROG
(PARI)
A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));
A051903(n) = if((1==n), 0, vecmax(factor(n)[, 2]));
A328310(n) = (A051903(A003415(n)) - A051903(n));
CROSSREFS
One less than A328311.
Sequence in context: A176047 A067461 A321765 * A136673 A283149 A097588
KEYWORD
sign
AUTHOR
Antti Karttunen, Oct 13 2019
STATUS
approved