OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
E. Fouvry, C. Mauduit, Sommes des chiffres et nombres presque premiers, (French) [Sums of digits and almost primes] Math. Ann. 305 (1996), no. 3, 571--599. MR1397437 (97k:11029).
MATHEMATICA
Select[Range[400], OddQ[DigitCount[#, 2, 1]]&&PrimeNu[#]==PrimeOmega[#]==2&] (* Harvey P. Dale, May 21 2024 *)
PROG
(PARI) isodious(n)=b = binary(n); sum(i=1, #b, b[i]==1) % 2;
isok(n) = isodious(n) && (bigomega(n)==2) && (omega(n)==2); \\ Michel Marcus, Oct 12 2013
(PARI) list(lim)=my(v=List()); forprime(p=2, lim\2, forprime(q=2, min(lim\p, p-1), if(hammingweight(p*q)%2, listput(v, p*q)))); Set(v) \\ Charles R Greathouse IV, Jan 31 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Oct 11 2013
EXTENSIONS
More terms from Michel Marcus, Oct 12 2013
STATUS
approved