Problem 50412. Number Puzzle - 075
Find all four-digit prime numbers whose digits are monotonically increasing from left-to-right.
Solution Stats
Problem Comments
-
2 Comments
Nikolaos Nikolaou
on 17 Feb 2021
monotonically increasing means < not <= Doddy
goc3
on 16 Apr 2022
According to the New Oxford American Dictionary, monotonic means "varying in such a way that it either never decreases or never increases." If something monotonically increases (i.e., never decreases), >= is appropriate. In like fashion, if something monotonically decreases (i.e., never increases), <= is also appropriate.
Solution Comments
Show commentsProblem Recent Solvers26
Suggested Problems
-
Determine Whether an array is empty
783 Solvers
-
475 Solvers
-
310 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
341 Solvers
-
Double all elements in the array
1732 Solvers
More from this Author180
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!