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

A268374
a(n) = A001222(n) - A267116(n).
5
0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 2, 0, 0, 1, 1, 1, 2, 0, 1, 1, 1, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 2, 0, 0, 1, 2, 0, 2, 0, 1, 0, 0, 1, 2, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 2, 0, 2, 0, 1, 2, 1, 0, 2, 0, 2, 1, 0, 0, 2, 1, 0, 0, 1, 1, 2
OFFSET
1,30
LINKS
FORMULA
a(n) = A001222(n) - A267116(n).
MATHEMATICA
Table[PrimeOmega@ n - BitOr @@ Map[Last, FactorInteger@ n], {n, 120}] /. -1 -> 0 (* Michael De Vlieger, Feb 04 2016 *)
PROG
(Scheme) (define (A268374 n) (- (A001222 n) (A267116 n)))
CROSSREFS
Cf. A268375 (indices of zeros), A268376 (of nonzeros).
Sequence in context: A321924 A124764 A151899 * A204263 A228347 A209314
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Feb 03 2016
STATUS
approved