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”).

A320725
Prime numbers such that all other numbers obtained from all permutations of all subsets of the digits are nonprime.
1
2, 3, 5, 7, 11, 19, 41, 61, 89, 409, 449, 499, 881, 6469
OFFSET
1,1
COMMENTS
Sequence is finite since it is a subsequence of a finite sequence (A071062).
This is complete: there are only 14 terms in the sequence.
EXAMPLE
449 is in this sequence because it's prime and none of the numbers 4, 9, 44, 49, 94, 494 and 944 is prime.
MATHEMATICA
Select[Prime@ Range[10^3], NoneTrue[DeleteCases[FromDigits /@ Rest@ Union@ Apply[Join, Permutations /@ Subsets@ IntegerDigits@ #], #], PrimeQ] &] (* Michael De Vlieger, Oct 22 2018 *)
CROSSREFS
Subsequence of A071062.
Cf. A320726 (the same for composite numbers).
Sequence in context: A089769 A033274 A071062 * A320771 A002231 A087769
KEYWORD
nonn,base,fini,full
AUTHOR
Daniel Lignon, Oct 19 2018
STATUS
approved