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

A294904
Number of divisors of n that are in A175526.
7
0, 0, 0, 1, 0, 1, 0, 2, 1, 1, 0, 3, 0, 1, 1, 3, 0, 3, 0, 3, 1, 1, 0, 5, 0, 1, 2, 3, 0, 4, 0, 4, 1, 1, 1, 6, 0, 1, 1, 5, 0, 4, 0, 3, 3, 1, 0, 7, 1, 2, 1, 3, 0, 5, 1, 5, 1, 1, 0, 8, 0, 1, 3, 5, 1, 4, 0, 3, 1, 4, 0, 9, 0, 1, 2, 3, 1, 4, 0, 7, 3, 1, 0, 8, 1, 1, 1, 5, 0, 8, 1, 3, 1, 1, 0, 9, 0, 3, 3, 5, 0, 4, 0, 5, 4, 1, 0, 9, 0, 4, 0, 7, 0, 4, 1, 3, 3, 1, 0, 12
OFFSET
1,8
COMMENTS
Number of terms of A175526 that divide n.
LINKS
FORMULA
a(n) = Sum_{d|n} (1-A294905(d)).
a(n) = 1 + (A294902(n)-A294905(n)).
a(n) + A294903(n) = A000005(n).
MATHEMATICA
q[n_] := DivisorSum[n, DigitCount[#, 2, 1] &] > 2 * DigitCount[n, 2, 1]; a[n_] := DivisorSum[n, 1 &, q[#] &]; Array[a, 100] (* Amiram Eldar, Jul 20 2023 *)
PROG
(PARI)
A292257(n) = sumdiv(n, d, (d<n)*hammingweight(d));
A294905(n) = (A292257(n) <= hammingweight(n));
A294904(n) = sumdiv(n, d, (0==A294905(d)));
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Nov 10 2017
STATUS
approved