Omar Khayyam is famous as a poet and astronomer and one of the greatest mathematicians of the Middle Ages. He was born near Nishapur in north-east Persia and is thought to have died in approximately 1122.