Combinatorica`
Combinatorica`
GraphicQ
As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »
GraphicQ[s]
yields True if the list of integers is a graphic sequence, and thus represents a degree sequence of some graph.
Details and Options
- GraphicQ functionality is now available in the built-in Wolfram Language function GraphQ.
- To use GraphicQ, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Examples
Basic Examples (2)Summary of the most common use cases
In[1]:=1

✖
https://wolfram.com/xid/0x0u8myr-rmcvi
In[2]:=2

✖
https://wolfram.com/xid/0x0u8myr-euxtzb
Out[2]=2

GraphicQ has been superseded by GraphQ:
In[1]:=1

✖
https://wolfram.com/xid/0x0u8myr-ec1xd2
Out[1]=1

Wolfram Research (2012), GraphicQ, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/GraphicQ.html.
✖
Wolfram Research (2012), GraphicQ, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/GraphicQ.html.
Text
Wolfram Research (2012), GraphicQ, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/GraphicQ.html.
✖
Wolfram Research (2012), GraphicQ, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/GraphicQ.html.
CMS
Wolfram Language. 2012. "GraphicQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/GraphicQ.html.
✖
Wolfram Language. 2012. "GraphicQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/GraphicQ.html.
APA
Wolfram Language. (2012). GraphicQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/GraphicQ.html
✖
Wolfram Language. (2012). GraphicQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/GraphicQ.html
BibTeX
✖
@misc{reference.wolfram_2025_graphicq, author="Wolfram Research", title="{GraphicQ}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/GraphicQ.html}", note=[Accessed: 11-July-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_graphicq, organization={Wolfram Research}, title={GraphicQ}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/GraphicQ.html}, note=[Accessed: 11-July-2025
]}