login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A108384
Primes p such that p's set of distinct digits is {1,7,9}.
6
179, 197, 719, 971, 1979, 1997, 7919, 9719, 9791, 11197, 11719, 11779, 11971, 17191, 17791, 17911, 17971, 17977, 19717, 19777, 19979, 19997, 71119, 71191, 71719, 71917, 71971, 71999, 77191, 77719, 79111, 91711, 91771, 91997, 97117, 97171
OFFSET
1,1
LINKS
Iain Fox, Table of n, a(n) for n = 1..10000 (first 1000 terms from Harvey P. Dale)
MATHEMATICA
Flatten[Table[Select[FromDigits/@Select[Tuples[{1, 7, 9}, n], Union[#]=={1, 7, 9}&], PrimeQ], {n, 3, 5}]] (* Harvey P. Dale, Feb 15 2016 *)
PROG
(PARI) lista(nn) = forprime(p=179, nn, if(vecsort(digits(p), , 8)==[1, 7, 9], print1(p, ", "))) \\ Iain Fox, Oct 25 2017
CROSSREFS
Cf. A108382 ({1, 3, 7}), A108383 ({1, 3, 9}), A108385 ({3, 7, 9}), A108386 ({1, 3, 7, 9}), A030096 (Primes whose digits are all odd).
Sequence in context: A273550 A053017 A140026 * A217550 A226928 A162164
KEYWORD
base,nonn
AUTHOR
Rick L. Shepherd, Jun 01 2005
STATUS
approved