|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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.
|
|
LINKS
|
|
|
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
|
Cf. A320726 (the same for composite numbers).
|
|
KEYWORD
|
nonn,base,fini,full
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|