Manuals/calci/ODDSET
Jump to navigation
Jump to search
ODDSET (Array,Every)
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Array} is any set of values.
Description
- This function shows the odd set of values from the given set of values.
- In Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle ODDSET(Array,Every)} , Array is the set of values and Every is any real number.
- ODD SET shows the odd number of values.
- Array of values are starting the numbering from 1 and so on.
- So from array of values function will return the 1st,3rd,5th,7th,9th,11th values and so on.
Examples
- ODDSET([1,2,3,4,5,6,7,8,9],2) = 1 3 5 7 9
- ODDSET([-10,-23,-12,65,11,65,100,17,34],4) = -10 -12 11 100 34
- ODDSET([20,30,40,50,10,-10,-20,-30,10],3) = 20 40 10 -20 10