login
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