WLJS LogoWLJS Notebook

TuranGraph

TuranGraph[n, k] gives the k-partite Turán graph with n vertices T(n,k).

Examples

Create a Turán graph:

TuranGraph[6, 3]

Visualize:

Graph[TuranGraph[8, 4]]

Edge count:

EdgeCount[TuranGraph[10, 5]]

Please visit the official Wolfram Language Reference for more details.

On this page