An elliptic equation on n-dimensional manifolds