OddQ
Examples
open all close allBasic Examples (2)
Applications (1)
Properties & Relations (2)
An integer is either odd or even. Use EvenQ to check that an integer is even:
OddQ[2]EvenQ[2]Odd integers are not divisible by 2:
OddQ[15]Not[Divisible[15, 2]]Possible Issues (1)
Expressions that represent odd integers but do not evaluate explicitly will still give False:
x = 3(GoldenRatio - 1 / GoldenRatio);OddQ[x]It is necessary to use symbolic simplification first:
FullSimplify[x]Related Guides
History
Introduced in 1988 (1.0)
Text
Wolfram Research (1988), OddQ, Wolfram Language function, https://reference.wolfram.com/language/ref/OddQ.html.
CMS
Wolfram Language. 1988. "OddQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/OddQ.html.
APA
Wolfram Language. (1988). OddQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/OddQ.html
BibTeX
@misc{reference.wolfram_2026_oddq, author="Wolfram Research", title="{OddQ}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/OddQ.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_oddq, organization={Wolfram Research}, title={OddQ}, year={1988}, url={https://reference.wolfram.com/language/ref/OddQ.html}, note=[Accessed: 12-June-2026]}