login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A155055 Primes without positive even digits. 2
3, 5, 7, 11, 13, 17, 19, 31, 37, 53, 59, 71, 73, 79, 97, 101, 103, 107, 109, 113, 131, 137, 139, 151, 157, 173, 179, 191, 193, 197, 199, 307, 311, 313, 317, 331, 337, 353, 359, 373, 379, 397, 503, 509, 557, 571, 577, 593, 599, 701, 709, 719, 733, 739, 751, 757 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..56.

MAPLE

a := proc (n) if `subset`(convert(convert(ithprime(n), base, 10), set), {0, 1, 3, 5, 7, 9}) = true then ithprime(n) else end if end proc: seq(a(n), n = 1 .. 150); # Emeric Deutsch, Jan 25 2009

MATHEMATICA

peQ[n_]:=Select[IntegerDigits[n], EvenQ[#] && #>0 &]=={}; Select[Prime[Range[135]], peQ[#] &] (* Jayanta Basu, May 23 2013 *)

Select[Prime[Range[200]], Intersection[IntegerDigits[#], {2, 4, 6, 8}]=={}&] (* Harvey P. Dale, Jan 24 2015 *)

CROSSREFS

Cf. A000040.

Sequence in context: A291360 A269326 A163422 * A030096 A045394 A264030

Adjacent sequences:  A155052 A155053 A155054 * A155056 A155057 A155058

KEYWORD

nonn,base

AUTHOR

Juri-Stepan Gerasimov, Jan 19 2009

EXTENSIONS

Definition corrected by Omar E. Pol, Jan 27 2009

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 20 13:18 EDT 2019. Contains 321345 sequences. (Running on oeis4.)