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!)
 A214705 Primes that contain only the digits (2, 5, 7). 2
 2, 5, 7, 227, 257, 277, 557, 577, 727, 757, 2557, 2777, 5227, 5527, 5557, 7577, 7727, 7757, 22277, 22727, 22777, 25577, 27277, 27527, 52727, 52757, 57527, 57557, 57727, 72227, 72277, 72577, 72727, 75227, 75277, 75527, 75557, 75577, 77527, 77557, 222527, 222557 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS The digits are prime numbers. LINKS Vincenzo Librandi, Table of n, a(n) for n = 1..1000 MATHEMATICA Flatten[Table[Select[FromDigits/@Tuples[{2, 5, 7}, n], PrimeQ], {n, 6}]] PROG (MAGMA) [p: p in PrimesUpTo(100000) | Set(Intseq(p)) subset [2, 5, 7]]; (Python) from sympy import primerange def ok(p): return set(str(p)) <= set("257") def aupto(limit): return [p for p in primerange(2, limit+1) if ok(p)] print(aupto(222557)) # Michael S. Branicky, Feb 05 2021 CROSSREFS Subsequence of A019546. Sequence in context: A058854 A006275 A042673 * A252283 A007571 A062621 Adjacent sequences:  A214702 A214703 A214704 * A214706 A214707 A214708 KEYWORD nonn,base,easy AUTHOR Vincenzo Librandi, Jul 28 2012 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 April 15 01:24 EDT 2021. Contains 342974 sequences. (Running on oeis4.)