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 Solvers115
Suggested Problems
-
Determine whether a vector is monotonically increasing
23047 Solvers
-
285 Solvers
-
Find the "ordinary" or Euclidean distance between A and Z
177 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
649 Solvers
-
Numbers spiral diagonals (Part 2)
199 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!