Formula by Aryabhata Aryabhata’s formula to calculate the sum of first n integers, their squares and their cubes