P.C. Mahalanobis, the famous Indian statistician and economist, was a close friend of Ramanujan during his Cambridge days. Mahalanobis wrote about their interactions and helped Ramanujan with practical matters. Thomas Hardy was his mathematical collaborator, not an economist, and the other options are not correct.