Difference between revisions of "Manuals/calci/ODDS"
Jump to navigation
Jump to search
(Created page with "ODDS") |
|||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | ODDS | + | <div style="font-size:30px">'''ODDS (Limit,StartFrom) '''</div><br/> |
| + | *<math>Limit</math> and <math>Start</math> are any real numbers. | ||
| + | |||
| + | ==Description== | ||
| + | *This function shows the odd numbers list with in the given limit of the numbers. | ||
| + | *In <math>ODDS(Limit,StartFrom)</math>, <math>Limit</math> is the number of odd numbers to display. | ||
| + | *<math>StartFrom</math> is the minimum number to start the odd numbers. | ||
| + | *Any integer that cannot be divided exactly by 2 is an odd number. | ||
| + | *So the last digit of the numbers are 1,3,5,7 or 9. | ||
| + | *So this function shows the odd numbers with the given limit of numbers. | ||
| + | *For Example ODDS(5,65)=65 67 69 71 73 | ||
| + | |||
| + | ==Examples== | ||
| + | #ODDS(10,0) = 0 2 4 6 8 10 12 14 16 18(If the start is not Odd, it will start from the Start parameter itself) | ||
| + | #ODDS(7,-7) = -7 -5 -3 -1 1 3 5 | ||
| + | #ODDS(5,102.3) = 102.3 104.3 106.3 108.3 110.3 | ||
| + | #max = 12;ODDS(max) = 1 3 5 7 9 11 13 15 17 19 21 23 | ||
| + | |||
| + | ==Related Videos== | ||
| + | |||
| + | {{#ev:youtube|SFRTTUtAjg4|280|center|ODD}} | ||
| + | |||
| + | ==See Also== | ||
| + | *[[Manuals/calci/ODD | ODD ]] | ||
| + | *[[Manuals/calci/ODDSET | ODDSET ]] | ||
| + | *[[Z_API_Functions | List of Main Z Functions]] | ||
| + | *[[ Z3 | Z3 home ]] | ||
| + | |||
| + | ==References== | ||
| + | *[https://www.mathsisfun.com/numbers/even-odd.html Odds] | ||
| + | *[[Z_API_Functions | List of Main Z Functions]] | ||
| + | *[[ Z3 | Z3 home ]] | ||
Latest revision as of 04:17, 14 April 2022
ODDS (Limit,StartFrom)
- and are any real numbers.
Description
- This function shows the odd numbers list with in the given limit of the numbers.
- In , is the number of odd numbers to display.
- is the minimum number to start the odd numbers.
- Any integer that cannot be divided exactly by 2 is an odd number.
- So the last digit of the numbers are 1,3,5,7 or 9.
- So this function shows the odd numbers with the given limit of numbers.
- For Example ODDS(5,65)=65 67 69 71 73
Examples
- ODDS(10,0) = 0 2 4 6 8 10 12 14 16 18(If the start is not Odd, it will start from the Start parameter itself)
- ODDS(7,-7) = -7 -5 -3 -1 1 3 5
- ODDS(5,102.3) = 102.3 104.3 106.3 108.3 110.3
- max = 12;ODDS(max) = 1 3 5 7 9 11 13 15 17 19 21 23