Pandigital prime: Difference between revisions

added optional use of 0
(→‎Using digits 0 to n: Sigh, no need to check 3 digit cases in fact.)
(added optional use of 0)
Line 6:
We shall say that an n-digit number is pandigital if it makes use of all the digits 1 to n exactly once. For example, 2143 is a 4-digit pandigital and is also prime.
<br><br>
What is the largest '''n-digit pandigital prime''' that exists?
<br><br>
;Optional:
Further say that an n+1-digit number is pandigital0 if it makes use of all the digits 0 to n exactly once. For example 10243 is a 5-digit pandigital0 and is also prime.
<br><br>
What is the largest '''pandigital0 prime''' that exists?
<br><br>
Assume that the problem is talking about '''decimal''' numbers.
7,794

edits