Ask Question
28 September, 03:02

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. 28 September, 06:39
    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?
Find 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 you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers