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”).

A324872
a(n) = A001222(n) + A061395(n) - A324861(n).
4
0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1
OFFSET
1,50
COMMENTS
Records 0, 1, 2, 6, 7, 10, 14, etc., occur at n = 1, 2, 50, 125, 243, 1729, 8192, etc.
FORMULA
a(n) = A001222(n) + A061395(n) - A324861(n).
a(n) = 1 + A252464(n) - A324861(n).
a(p) = 1 for all primes p.
PROG
(PARI)
A061395(n) = if(1==n, 0, primepi(vecmax(factor(n)[, 1])));
A324861(n) = #binary(A324876(n)); \\ Needs also code from A324876.
A324872(n) = (bigomega(n)+A061395(n)-A324861(n));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 21 2019
STATUS
approved