login
A336396
a(n) = A329697(n) - A087436(n).
7
0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 2, 0, 1, 1, 2, 0, 0, 1, 0, 1, 2, 0, 2, 0, 1, 0, 1, 0, 2, 2, 1, 0, 1, 1, 3, 1, 0, 2, 3, 0, 2, 0, 0, 1, 2, 0, 1, 1, 2, 2, 3, 0, 2, 2, 1, 0, 1, 1, 3, 0, 2, 1, 3, 0, 2, 2, 0, 2, 2, 1, 3, 0, 0, 1, 2, 1, 0, 3, 2, 1, 2, 0, 2, 2, 2, 3, 2, 0, 1, 2, 1, 0, 2, 0, 2, 1, 1
OFFSET
1,19
COMMENTS
Totally additive because both A087436 and A329697 are.
LINKS
FORMULA
a(n) = A329697(n) - A087436(n).
a(n) = A329697(A336466(n)).
a(n) = A336469(n) - A046660(A000265(n)).
For all n >= 1, a(n) <= A336118(n).
PROG
(PARI)
A087436(n) = (bigomega(n>>valuation(n, 2)));
A329697(n) = if(!bitand(n, n-1), 0, 1+A329697(n-(n/vecmax(factor(n)[, 1]))));
A336396(n) = (A329697(n) - A087436(n));
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 24 2020
STATUS
approved