Skip to content

2017-1: What an Odd Bunch

Write a function that will return the first n odd natural numbers.

Examples:

     (your_function) 5
1 3 5 7 9
     (your_function) 1
1     
     (your_function) 0 ⍝ should return an empty vector

your_function ←

Solutions

Video Thumbnail YouTube

Chat transcript Code on GitHub