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
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers121
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15826 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3759 Solvers
-
Sum of first n positive integers
633 Solvers
-
Create a two dimensional zero matrix
588 Solvers
-
13357 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!