The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A130593 Evil semiprimes. 5
6, 9, 10, 15, 33, 34, 39, 46, 51, 57, 58, 65, 77, 85, 86, 95, 106, 111, 119, 123, 129, 141, 142, 159, 166, 169, 177, 178, 183, 187, 201, 202, 209, 215, 219, 221, 226, 235, 237, 249, 267 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Products of two (not necessarily distinct) primes such that the product has an even number of 1's in its binary expansion. Non-evil semiprimes are odious (A000069).
LINKS
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).
FORMULA
A001358 INTERSECTION A001969.
MATHEMATICA
Select[Range[300], PrimeOmega[#]==2&&EvenQ[DigitCount[#, 2, 1]]&] (* Harvey P. Dale, Nov 08 2011 *)
PROG
(PARI) list(lim)=my(v=List(), t); forprime(p=2, lim\2, forprime(q=2, min(p, lim\p), if(hammingweight(n=p*q)%2, , listput(v, n)))); vecsort(Vec(v)) \\ Charles R Greathouse IV, Mar 26 2013
CROSSREFS
Sequence in context: A020219 A175634 A134622 * A328234 A051221 A029843
KEYWORD
easy,base,nonn
AUTHOR
Jonathan Vos Post, Jun 16 2007
EXTENSIONS
Corrected (a(21)=129 added) by Harvey P. Dale, Nov 08 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 2 09:05 EDT 2024. Contains 373033 sequences. (Running on oeis4.)