The ancient universities of India were intellectual powerhouses that attracted scholars from distant lands interested in studying mathematics and astronomy as well as philosophy and medicine.