Pandigital number n°1 (Inspired by Project Euler 32) - MATLAB Cody - MATLAB Central

Problem 2319. Pandigital number n°1 (Inspired by Project Euler 32)

Difficulty:Rate

A little warm-up to begin...

An n-digit number is pandigital if it makes use of all the digits 1 to n exactly ONCE.

For example, the 5-digit number 15234, is 1 through 5 pandigital.

Given a positive integer find whether it is a pandigital number.

Solution Stats

48.67% Correct | 51.33% Incorrect
Last Solution submitted on Mar 11, 2025

Problem Comments

Solution Comments

Show comments

Group

The Prime Directive Image
The Prime Directive
  • 14 Problems
  • 36 Finishers

Problem Recent Solvers102

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page