Problem 43006. Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The first number of the row is 1.
Solution Stats
Problem Comments
-
3 Comments
goc3
on 4 Oct 2016
I updated the problem with additional test cases.
Christian Schröder
on 21 Oct 2022
Broken test suite?
Dyuman Joshi
on 22 Oct 2022
Test suite has been fixed.
Solution Comments
Show commentsProblem Recent Solvers76
Suggested Problems
-
Getting the indices from a vector
8693 Solvers
-
3724 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
1702 Solvers
-
760 Solvers
-
7171 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!