login
A216444
List of primes with property that if they have d digits, these digits are a permutation of {1..d}.
1
1423, 2143, 2341, 4231, 1234657, 1245763, 1246537, 1246573, 1247563, 1254367, 1254637, 1256347, 1257463, 1263547, 1264537, 1264573, 1265347, 1275643, 1276543, 1324567, 1342567, 1342657, 1345627, 1354267, 1356247, 1356427, 1362457, 1425367, 1426753, 1427563, 1427653, 1435627, 1436257, 1436527
OFFSET
1,1
COMMENTS
The b-file includes all 7-digit terms. For d=8 and d=9, permutations are divisible by 9. For d>9, we cannot have a d-digit permutation. - Hans Havermann, Jan 05 2018
MATHEMATICA
Select[Prime[Range[120000]], Sort[IntegerDigits[#]]==Range[ IntegerLength[ #]]&] (* Harvey P. Dale, Jul 17 2016 *)
Table[Select[FromDigits/@Permutations[Range[n]], PrimeQ], {n, 4, 7}]//Flatten (* Harvey P. Dale, Jul 20 2024 *)
CROSSREFS
Cf. A156113.
Sequence in context: A237960 A023937 A225567 * A083428 A376793 A068572
KEYWORD
nonn,base,fini,full
AUTHOR
V. Raman, Sep 07 2012
EXTENSIONS
Keywords fini and full from Hans Havermann, Jan 05 2018
STATUS
approved