<human>:  Who was the real life person that the book, ‘The Man Who Knew Infinity’, is based on?
<bot>: The book is based on the life of Srinivasa Ramanujan. Ramanujan was born in India in 1887 and he died in 1920. He was a mathematician who made contributions to number theory, infinite series, and continued fractions. He was a student of G. H. Hardy, and they were very close friends.