login
Seven-digit primes that begin with 1 followed by permutations of digits 2 to 7.
2

%I #15 Nov 01 2025 17:45:04

%S 1234657,1245763,1246537,1246573,1247563,1254367,1254637,1256347,

%T 1257463,1263547,1264537,1264573,1265347,1275643,1276543,1324567,

%U 1342567,1342657,1345627,1354267,1356247,1356427,1362457,1425367,1426753,1427563,1427653,1435627,1436257,1436527

%N Seven-digit primes that begin with 1 followed by permutations of digits 2 to 7.

%C Sequence is finite, final term a(63) = 1764253.

%H Jason Yuen, <a href="/A156113/b156113.txt">Table of n, a(n) for n = 1..63</a>

%t Select[10^6+FromDigits/@Permutations[Range[2,7]],PrimeQ] (* _Zak Seidov_, Dec 18 2010 *)

%Y Cf. A156119.

%K fini,full,nonn,base

%O 1,1

%A _Ki Punches_, Mar 15 2009

%E Corrected by _Ray Chandler_, May 25 2009