%I #20 Jul 20 2024 20:16:42
%S 1423,2143,2341,4231,1234657,1245763,1246537,1246573,1247563,1254367,
%T 1254637,1256347,1257463,1263547,1264537,1264573,1265347,1275643,
%U 1276543,1324567,1342567,1342657,1345627,1354267,1356247,1356427,1362457,1425367,1426753,1427563,1427653,1435627,1436257,1436527
%N List of primes with property that if they have d digits, these digits are a permutation of {1..d}.
%C 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
%H V. Raman, <a href="/A216444/b216444.txt">Table of n, a(n) for n = 1..538</a>
%t Select[Prime[Range[120000]],Sort[IntegerDigits[#]]==Range[ IntegerLength[ #]]&] (* _Harvey P. Dale_, Jul 17 2016 *)
%t Table[Select[FromDigits/@Permutations[Range[n]],PrimeQ],{n,4,7}]//Flatten (* _Harvey P. Dale_, Jul 20 2024 *)
%K nonn,base,fini,full
%O 1,1
%A _V. Raman_, Sep 07 2012
%E Keywords fini and full from _Hans Havermann_, Jan 05 2018
|