Solution
= Solution
Contracting the stated <Einstein field equations> with $g^{\alpha\beta}$ in $n$ dimensions gives
$$
T=R-\frac n2R=-\frac{n-2}{2}R.
$$
Thus $R=-2T/(n-2)$, and substitution back yields the <Trace-reversed Einstein field equations in D dimensions>
$$
\boxed{
R_{\alpha\beta}
=T_{\alpha\beta}-\frac1{n-2}g_{\alpha\beta}T
},
\qquad n>2.
$$