The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A144213 Primes with a prime number of 0's in their binary representations. 2
 17, 19, 37, 41, 43, 53, 71, 79, 83, 89, 101, 103, 107, 109, 113, 131, 137, 151, 157, 167, 173, 179, 181, 193, 199, 211, 227, 229, 233, 241, 257, 263, 269, 277, 281, 293, 311, 317, 337, 347, 349, 353, 359, 367, 373, 379, 389, 401, 431, 439, 443, 449, 461, 463 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Robert Israel, Table of n, a(n) for n = 1..10000 EXAMPLE 41, a prime, in binary is 101001. This has three 0's and 3 is prime, so 41 is in the sequence. MAPLE A080791 := proc(n) local i, dgs ; dgs := convert(n, base, 2) ; nops(dgs)-add(i, i=dgs) ; end: isA144213 := proc(n) local no0 ; no0 := A080791(n) ; if isprime(n) and isprime(no0) then true ; else false; fi; end: for n from 1 to 1200 do if isA144213(n) then printf("%d, ", n) ; fi; od: # R. J. Mathar, Sep 17 2008 MATHEMATICA nmax = 100; Select[Prime[Range[nmax]], PrimeQ[Total@Mod[1 + IntegerDigits[#, 2], 2]] &] (* Andres Cicuttin, Jul 08 2020 *) Select[Prime[Range[100]], PrimeQ[DigitCount[#, 2, 0]]&] (* Harvey P. Dale, Feb 03 2021 *) CROSSREFS Cf. A081092, A144214. Intersection of A000040 and A144754. Sequence in context: A160027 A288407 A286611 * A318940 A289355 A144214 Adjacent sequences:  A144210 A144211 A144212 * A144214 A144215 A144216 KEYWORD base,nonn AUTHOR Leroy Quet, Sep 14 2008 EXTENSIONS More terms from R. J. Mathar, Sep 17 2008 STATUS approved

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

Last modified May 18 04:22 EDT 2021. Contains 343994 sequences. (Running on oeis4.)