First N odd, ascending

First N odd, ascending. Given an integer N, display all the odd numbers from 1 to N in ascending order.

Test Case Input (N) Expected Output
1 10 1
3
5
7
9
2 5 1
3
5
3 1 1