OddQ
✖
OddQ
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Applications (1)Sample problems that can be solved with this function
Properties & Relations (2)Properties of the function, and connections to other functions
An integer is either odd or even. Use EvenQ to check that an integer is even:
In[1]:=1

✖
https://wolfram.com/xid/0ldl38z-j8ydmh
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0ldl38z-mq5cpb
Out[2]=2

Odd integers are not divisible by 2:
In[1]:=1

✖
https://wolfram.com/xid/0ldl38z-6fqf8i
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0ldl38z-jym6ib
Out[2]=2

Possible Issues (1)Common pitfalls and unexpected behavior
Expressions that represent odd integers but do not evaluate explicitly will still give False:
In[1]:=1

✖
https://wolfram.com/xid/0ldl38z-bc2q4h
In[2]:=2

✖
https://wolfram.com/xid/0ldl38z-7wokkm
Out[2]=2

It is necessary to use symbolic simplification first:
In[3]:=3

✖
https://wolfram.com/xid/0ldl38z-td9c9f
Out[3]=3

Wolfram Research (1988), OddQ, Wolfram Language function, https://reference.wolfram.com/language/ref/OddQ.html.
✖
Wolfram Research (1988), OddQ, Wolfram Language function, https://reference.wolfram.com/language/ref/OddQ.html.
Text
Wolfram Research (1988), OddQ, Wolfram Language function, https://reference.wolfram.com/language/ref/OddQ.html.
✖
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.
✖
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
✖
Wolfram Language. (1988). OddQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/OddQ.html
BibTeX
✖
@misc{reference.wolfram_2025_oddq, author="Wolfram Research", title="{OddQ}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/OddQ.html}", note=[Accessed: 08-June-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_oddq, organization={Wolfram Research}, title={OddQ}, year={1988}, url={https://reference.wolfram.com/language/ref/OddQ.html}, note=[Accessed: 08-June-2025
]}