Pandigital prime: Difference between revisions
Content added Content deleted
(→Using digits 0 to n: Sigh, no need to check 3 digit cases in fact.) |
(added optional use of 0) |
||
Line 6: | 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. |
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> |
<br><br> |
||
What is the largest ''' |
What is the largest '''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> |
<br><br> |
||
Assume that the problem is talking about '''decimal''' numbers. |
Assume that the problem is talking about '''decimal''' numbers. |