Ask Question
24 March, 02:23

Create a list of the odd numbers between 1 and n (include 1 as well as n - - if it's odd - - in the list). Associate the list with the variable odds.

+2
Answers (1)
  1. 24 March, 02:30
    0
    The odd numbers can be generated by adding 2 to the first odd number.

    Starting with 1 as the first odd number, you get 1, 3, 5, 7, 9, ...

    A general formula to name the odd numbers is 2n + 1, where n can take any whole value.

    Look:

    n 2n + 1

    0 0+1 = 1

    1 2 (1) + 1 = 2 + 1 = 3

    2 2 (2) + 1 = 4+1 = 5

    3 3 (2) + 1 = 6 + 1 = 7

    4 4 (2) + 1 = 8 + 1 = 9.

    So, you now can use the general formula 2n + 1 to generate any odd number, starting with n = 0 to generate the first odd number, 1.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Create a list of the odd numbers between 1 and n (include 1 as well as n - - if it's odd - - in the list). Associate the list with the ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers