Beneath every recommendation engine lies a mathematical puzzle, predicting what you want from what others like you have ...