A refinement of the q-trinomial coefficients is introduced, which has a ver
y powerful iterative property. This "J-invariance" is applied ro derive new
Virasoro character identities I elated to the exceptional simply-laced Lie
algebras E-6, E-7 and E-8.