AbstractLet UTn(q) denote the group of unipotent n×n upper triangular matrices over a field with q elements. The degrees of the complex irreducible characters of UTn(q) are precisely the integers qe with 0⩽e⩽⌊n2⌋⌊n−12⌋, and it has been conjectured that the number of irreducible characters of UTn(q) with degree qe is a polynomial in q−1 with nonnegative integer coefficients (depending on n and e). We confirm this conjecture when e⩽8 and n is arbitrary by a computer calculation. In particular, we describe an algorithm which allows us to derive explicit bivariate polynomials in n and q giving the number of irreducible characters of UTn(q) with degree qe when n>2e and e⩽8. When divided by qn−e−2 and written in terms of the variables n−2e−1 and ...