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 Solvers120
Suggested Problems
-
6464 Solvers
-
1554 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14427 Solvers
-
Create an index-powered vector
968 Solvers
-
Max Change in Consecutive Elements
185 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!