first n odd numbers code example Example: first n odd numbers n / 2 --> gives the number of odd numbers for first n numbers.