OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
a(42) = 216 because 216 = '11011000' and sopfr(216) = 15 = '1111'; both have four 1's.
MATHEMATICA
binWt[n_] := DigitCount[n, 2, 1]; seqQ[n_] := CompositeQ[n] && binWt[n] == binWt[Plus @@ Times @@@ FactorInteger[n]]; Select[Range[350], seqQ] (* Amiram Eldar, Dec 14 2019 *)
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Jason Earls, Aug 17 2003
STATUS
approved