## Abstract

For a graph G, let V ar(G) denote the variance of the degree sequence of G, let sq(G) denote the sum of the squares of the degrees of G, and let t(G) denote the number of triangles in G and in its complement. The parameters are related by: V ar(G) = sq(G)/n - d^{2} where d is the average degree of G, and t(G) = (^{n}_{3}) + sq(G)/2 - m(n - 1). Let V ar(n) denote the maximum possible value of V ar(G) where G has n vertices, and let sq(n,m) and t(n,m) denote the maximum possible values of sq(G) and t(G), respectively, where G has n vertices and m edges. We present a polynomial time algorithm which generates all the graphs with n vertices and m edges having sq(G) = sq(n,m) and t(G) = t(n,m). This extends a result of Olpp which determined t(n,m). We also determine V ar(n) precisely for every n, and show that (formula presented), where q = [3n/4], (if n = 2 mod 4 the rounding is up) thereby improving upon previous results.

Original language | English |
---|---|

Pages (from-to) | 151-162 |

Number of pages | 12 |

Journal | Ars Combinatoria |

Volume | 57 |

State | Published - Oct 2000 |

## ASJC Scopus subject areas

- General Mathematics