OFFSET
1,1
COMMENTS
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
EXAMPLE
232 is a term because 232 = 11101000_2 and 232 = 2^3*29.
MATHEMATICA
fQ[n_] := Count[IntegerDigits[n, 2], 1] == Plus @@ Last /@ FactorInteger@n; Select[ Range@517, fQ[ # ] &] (* Robert G. Wilson v, Jan 18 2006 *)
Select[Range[600], Count[IntegerDigits[#, 2], 1]==PrimeOmega[#]&] (* Harvey P. Dale, Mar 07 2019 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Jun 07 2002
STATUS
approved