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

249 Solutions

113 Solvers

Last Solution submitted on Dec 19, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers113

Suggested Problems

More from this Author43

Community Treasure Hunt

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

Start Hunting!