← Complete problem index

PROJECT EULER · #0041

Pandigital Prime

Statement only · SolvedOriginal problem ↗

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.

What is the largest n-digit pandigital prime that exists?

Write-up coming later

The complete problem is available here. An approach, code, and answer will be added later.