Riemann Tensor In Terms Of Formal Powers