Abstract
In this paper, we used a modular form approach to determine explicit formulas for the number of representations of a positive integer n by certain octonary quadratic forms with coefficients 1, 2, 5 or 10. We found formulae for 36 octonary quadratic forms, 7 of which appeared in the literature.