login
A102550
Number of distinct prime-factors of n that are bitwise covered by n.
4
0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 2, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 2, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 2, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 2, 1, 1, 0, 1, 1, 0, 0, 0, 1, 2, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0
OFFSET
1,15
COMMENTS
p is bitwise covered by n iff (p = (n AND p)) bitwise: A080099(n,p)=p.
FORMULA
a(A102553(n)) = A001221(A102553(n));
a(A102554(n)) < A001221(A102554(n));
a(A102551(n)) = 0, a(A102551(n)) > 0;
a(A102555(n)) = n;
a(m) < n for m < A102555(n).
a(n) = Sum_{p|n} (binomial(n,p) mod 2), where p is a prime. - Ridouane Oudra, May 03 2019
MATHEMATICA
a[1] = 0; a[k_] := Module[{f=FactorInteger[k][[;; , 1]]}, Count[BitAnd[k, f]-f, 0]]; Array[a, 120] (* Amiram Eldar, Feb 06 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jan 14 2005
EXTENSIONS
Offset 1 from Amiram Eldar, Feb 06 2019
STATUS
approved