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 Solvers79
Suggested Problems
-
4515 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
770 Solvers
-
find whether it is prime or not
151 Solvers
-
Height of a right-angled triangle
1867 Solvers
-
198 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!