TOPICS
Search

Maximum Clique


A maximum clique of a graph G is a clique (i.e., a complete subgraph) of maximum possible size for G. Some authors refer to maximum cliques simply as "cliques." The size of a maximum clique is the clique number. Computing this size is an NP-hard problem; the decision problem of whether a graph contains a clique of size at least k is an NP-complete problem (Skiena 1997).

For fixed k, detecting a clique on k vertices in an n-vertex simple graph can be reduced to matrix multiplication. For k divisible by 3, the classical reduction gives a time bound of n^(omegak/3+o(1)), where omega is the matrix multiplication exponent and o(1) tends to zero as n->infty for fixed k in little-O notation (Nešetril and Poljak 1985). The k-clique hypothesis posits a lower bound of n^(omegak/3-o(1)) for detecting such a clique when k is a fixed multiple of 3, on a word RAM with O(lnn)-bit words, where O denotes big-O notation. Vassilevska Williams and Zamir (2026) report a word-RAM algorithm that counts cliques of size k in O(n^((omega-delta)k/3)) time for all sufficiently large fixed k, where delta>0 and the threshold on k are independent of omega. Their claimed improvement extends to counting cliques weighted by products of edge weights in the arithmetic model over fields of field characteristic zero. The authors credit ChatGPT-6 with finding an initial speedup for k=5 and helping generalize and simplify an algebraic decomposition related to OpenAI's reported exponential time hypothesis result.

A maximum clique in a given graph g can be found in the Wolfram Language using FindClique[g][[1]]. The command Sort[FindClique[g, Length /@ FindClique[g], All]] will find all maximum cliques.

A complete k-partite graph with k nonempty parts has maximum clique size k. A graph on n vertices having the maximum possible edge count among those that do not contain the complete graph K_p as a subgraph is called the Turán's graph T(n,p-1) (Gross and Yellen 2006, pp. 476-477; note the slightly nonstandard indexing T(n,p) by Skiena 1990, p. 218 and Pemmaraju and Skiena 2003, pp. 247-248).


See also

Caveman Graph, Clique, Clique Graph, Clique Number, Complete Graph, Induced Subgraph, Maximal Clique, Party Problem, Perfect Graph, Ramsey Number, Turán's Theorem

Explore with Wolfram|Alpha

References

Bellare, M.; Goldreich, O.; and Sudan, M. "Free Bits, PCPs, and Non-Approximability--Towards Tight Results." SIAM J. Comput. 27, 804-915, 1998.Cormen, T.; Leiserson, C.; and Rivest, R. Introduction to Algorithms. Cambridge, MA: MIT Press, 1990.Garey, M. R. and Johnson, D. S. Computers and Intractability: A Guide to the Theory of NP-Completeness. New York: W. H. Freeman, 1983.Gross, J. T. and Yellen, J. Graph Theory and Its Applications, 2nd ed. Boca Raton, FL: CRC Press, pp. 476-477, 2006.Harary, F. Graph Theory. Reading, MA: Addison-Wesley, 1994.Karp, R. M. "Reducibility Among Combinatorial Problems." In Complexity of Computer Computations, Proc. Sympos. IBM Thomas J. Watson Res. Center, Yorktown Heights, N.Y., 1972 (Ed. R. E. Miller and J. W. Thatcher). New York: Plenum, pp. 85-103, 1972.Manber, U. Introduction to Algorithms: A Creative Approach. Reading, MA: Addison-Wesley, 1989.Nešetril, J. and Poljak, S. "On the Complexity of the Subgraph Problem." Comment. Math. Univ. Carolin. 26, 415-419, 1985. https://dml.cz/handle/10338.dmlcz/106381.Pemmaraju, S. and Skiena, S. Computational Discrete Mathematics: Combinatorics and Graph Theory in Mathematica. Cambridge, England: Cambridge University Press, pp. 247-248, 2003.Skiena, S. "Maximum Cliques." §5.6.1 in Implementing Discrete Mathematics: Combinatorics and Graph Theory with Mathematica. Reading, MA: Addison-Wesley, pp. 215 and 217-218, 1990.Skiena, S. S. "Clique and Independent Set" and "Clique." §6.2.3 and 8.5.1 in The Algorithm Design Manual. New York: Springer-Verlag, pp. 144 and 312-314, 1997.Vassilevska Williams, V. and Zamir, O. "The k-Clique Hypothesis Is Dead, for Good." 6 Nov 2026. https://arxiv.org/abs/2611.09764.Sloane, N. J. A. Sequence A005289/M3440 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Maximum Clique

Cite this as:

Weisstein, Eric W. "Maximum Clique." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/MaximumClique.html

Subject classifications