OFFSET
1,1
COMMENTS
First differs from A325571 at n = 56: A325571(56) = 267 is not a term of this sequence. Differs from A325571 by having the terms 16849, 35235, 101265, 268357, 295717, ..., and not having the terms 267, 295, 327, 387, 395, ... .
Composite numbers k such that A380844(k) = 1.
All the odd primes p have A380844(p) = 1.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
MATHEMATICA
q[k_] := CompositeQ[k] && DivisorSum[k, 1 &, DigitCount[#, 2, 1] == DigitCount[k, 2, 1] &] == 1; Select[Range[1, 300, 2], q]
PROG
(PARI) isok(k) = if(k == 1 || isprime(k), 0, my(h = hammingweight(k)); sumdiv(k, d, hammingweight(d) == h) == 1);
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Amiram Eldar, Apr 24 2025
STATUS
approved
