In a locally symmetric
Riemannian manifold the scalar curvature is constant and each k-th covariant
derivative of the Riemannian curvature tensor vanishes. In this note, we show that if
the covariant derivatives of the Riemannian curvature tensor satisfy some
algebraic conditions at each point, then the Riemannian manifold is locally
symmetric.