Difference between revisions of "Manuals/calci/ODDS"
Jump to navigation
Jump to search
(Created page with "ODDS") |
|||
| 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 number of numbers. | ||
| + | *For Example ODDS(5,65)=65 67 69 71 73 | ||
| + | |||
| + | ==Examples== | ||
| + | #ODDS(10,0) = 1 3 5 7 9 11 13 15 17 19 | ||
| + | #ODDS(7,-7) = -7 -5 -3 -1 1 3 5 | ||
| + | #ODDS(5,102.3) = 102.3 104.3 106.3 108.3 110.3 | ||
| + | |||
| + | ==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 ]] | ||
Revision as of 13:47, 12 April 2017
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 number of numbers.
- For Example ODDS(5,65)=65 67 69 71 73
Examples
- ODDS(10,0) = 1 3 5 7 9 11 13 15 17 19
- ODDS(7,-7) = -7 -5 -3 -1 1 3 5
- ODDS(5,102.3) = 102.3 104.3 106.3 108.3 110.3