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!)
A136260 Primes which contain the digit 2 or the digit 3. 0
2, 3, 13, 23, 29, 31, 37, 43, 53, 73, 83, 103, 113, 127, 131, 137, 139, 163, 173, 193, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 421, 431, 433 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Chris Caldwell, The First 1000 primes.
MAPLE
a:=proc(n) local nn: nn:=convert(convert(n, base, 10), set): if isprime(n)=true and 0 < nops(`intersect`({2, 3}, nn)) then n else end if end proc: seq(a(n), n= 1..400); # Emeric Deutsch, Mar 31 2008
MATHEMATICA
fQ[n_] := Block[{id = IntegerDigits@ n}, MemberQ[id, 2] || MemberQ[id, 3]]; Select[ Prime@ Range@ 84, fQ@ # &] (* Robert G. Wilson v, Apr 19 2008 *)
CROSSREFS
Sequence in context: A137248 A355438 A358427 * A296932 A288054 A181521
KEYWORD
nonn,base,easy
AUTHOR
Parthasarathy Nambi, Mar 17 2008
EXTENSIONS
Corrected and extended by Emeric Deutsch, Mar 31 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 10:26 EDT 2024. Contains 371905 sequences. (Running on oeis4.)