OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
EXAMPLE
129 = 10000001 in base 2 and 129 = 3*43 hence 129 is in the sequence.
MATHEMATICA
Select[Range[1, 37000, 2], DigitCount[#, 2, 1] == PrimeNu[#] &] (* Amiram Eldar, Jan 11 2020*)
PROG
(PARI) for(n=1, 80000, if(sum(i=1, length(binary(n)), component(binary(n), i))==-(-1)^n*omega(n), print1(n, ", ")))
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Benoit Cloitre, Jun 01 2002
STATUS
approved