login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A339895
a(n) = A339894(n) - A061395(n).
7
0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 2, 1, 0, 1, 0, 2, 1, 0, 1, 2, 0, 0, 1, 1, 0, 1, 0, 1, 2, 0, 0, 2, 2, 2, 1, 1, 0, 3, 1, 1, 1, 0, 0, 2, 0, 0, 2, 2, 1, 1, 0, 1, 1, 2, 0, 3, 0, 0, 3, 1, 2, 1, 0, 2, 3, 0, 0, 2, 1, 0, 1, 1, 0, 3, 2, 1, 1, 0, 1, 2, 0, 3, 2, 2, 0, 1, 0, 1, 3
OFFSET
1,27
FORMULA
a(n) = A339894(n) - A061395(n).
a(n) = A334201(n) - A339896(n).
a(n) = A339893(A122111(n)).
PROG
(PARI)
A000523(n) = if( n<1, 0, #binary(n) - 1); \\ From A000523
A122111(n) = if(1==n, n, my(f=factor(n), es=Vecrev(f[, 2]), is=concat(apply(primepi, Vecrev(f[, 1])), [0]), pri=0, m=1); for(i=1, #es, pri += es[i]; m *= prime(pri)^(is[i]-is[1+i])); (m));
A061395(n) = if(1==n, 0, primepi(vecmax(factor(n)[, 1])));
A339895(n) = (A339894(n)-A061395(n));
CROSSREFS
Cf. A339897 (first occurrence of each n).
Sequence in context: A130161 A115672 A079694 * A068906 A162514 A364039
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 21 2020
STATUS
approved