TOPICS
Search

KP Graph


The graph Cartesian product K_n square P_r of a complete graph K_n and a path graph P_r has been termed a "KP graph" by Knuth (2024, pp. 20-21), who restricts their parameters to r>1 and n>2. The KP graphs have vertex count, edge count, and (except for r=1 and r=n=2) graph automorphism count

|V(K_n square P_r)|=rn
(1)
|E(K_n square P_r)|=r(n; 2)+(r-1)n
(2)
|Aut(K_n square P_r)|=2n!.
(3)

Special cases are summarized in the table below.

K_n square P_2 (i.e., the 2×n rook graphs) is ungraceful for all n>5 (Knuth 2024, p. 22).


See also

Graph Cartesian Product, KC Graph

Explore with Wolfram|Alpha

References

Knuth, D. E. §7.2.2.3 in The Art of Computer Programming, Vol. 4. Pre-Fascicle 7A, Dec. 5, 2024.

Cite this as:

Weisstein, Eric W. "KP Graph." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/KPGraph.html

Subject classifications