Is there a formula for calculating the mean curvature tensor using Ricci tensor, Gauss curvature tensor and the second order derivative of the second fundamental form? More precisely, I found some formula in the paper of S. Funabashi, Totally complex submanifolds of a quaternionic Kaehlerian manifold, Kodai Math. J. 2 (1979), 314336. on page 327, just below the formula (4.1). Thank you!

It should not be difficult to obtain such a formula from the Gauss equation by taking covariant derivatives and appropriate contractions. In fact, the twice contracted Gauss equation relates the scalar curvatures, the Ricci tensor, the square of the mean curvature and the square of the length of the second fundamental form. See eg. p. 47 in "The large scale structure of the spacetime" by S.W. Hawking and G.F.R. Ellis. 

