Problem 52644. List modest numbers up to n
Solution Stats
Problem Comments
-
1 Comment
GeeTwo
on 30 Dec 2022
No one has asked whether a must be at the big end and b at the small end, or could they be swapped. The answer is clearly yes, a is at the big end. If you could swap them, every multiple of 10 would be a solution (among many others). The test cases show multiples of 10 are not solutions to the first few.
Problem Recent Solvers7
Suggested Problems
-
Return the largest number that is adjacent to a zero
4709 Solvers
-
How to find the position of an element in a vector without using the find function
2617 Solvers
-
Set some matrix elements to zero
377 Solvers
-
Detect a number and replace with two NaN's
188 Solvers
-
Sum the numbers on the main diagonal
536 Solvers
More from this Author192
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!