We study the quadratic residue weight enumerators of the dual projective Reed-Solomon codes of dimensions 55 and q−4q-4 over the finite field Fq\mathbb {F}_q. Our main results are formulas for the coefficients of the quadratic residue weight enumerators for such codes. If q=pvq=p^v and we fix vv and vary pp, then our formulas for the coefficients of the dimension q−4q-4 code involve only polynomials in pp and the trace of the qthq^{\mathrm {th}} and (q/p2)th(q/p^2)^{\text {th}} Hecke operators acting on spaces of cusp forms for the congruence groups SL2(Z),Γ0(2)\operatorname {SL}_2 (\mathbb {Z}), \Gamma _0(2), and Γ0(4)\Gamma _0(4). The main tool we use is the Eichler-Selberg trace formula, which gives along the way a variation of a theorem of Birch on the distribution of rational point counts for elliptic curves with prescribed 22-torsion over a fixed finite field.