  We characterize the generating function of the number of representations
described in the title in terms of the theory of modular forms. Appealing to
this characterization we obtain explicit formulas for the representation
numbers as examples.
