The mathematician who give the formula for the number of spheres in a triangular pile?

Aryabhata.