Project Euler Homework
Functions

041.cpp File Reference

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. More...

#include <iostream>
#include "032_permutation.h"
#include "041_prime_table.h"

Go to the source code of this file.

Functions

unsigned valueOf (perm032 &perm, unsigned N)
int main ()

Detailed Description

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?

Definition in file 041.cpp.

 All Classes Files Functions Variables