改編自東野圭吾的小說,一具容貌被毀至粉末、連手指也被燒至鬆掉的男屍被發現,柴咲幸飾演的內海刑警接獲案件後找不出死者身份,只好向帝都大學的物理學教授湯川(福山雅治飾)幫忙;而湯川在查案期間,發現死者的前妻花岡靖子(松雪泰子飾)之鄰居石神哲哉 (堤真一飾),正是湯川大學時代被譽為百年難得一見的數學天才石神,石神如今只是一名不起眼的高中數學教師,生活在大都市的一角,而他正是跟本案有千絲萬纏的關係,湯川遇上了自認不如的天才石神,這次物理學天才與數學天才的世紀大戰,湯川以甚麼奇招破解這宗完美的犯案?
The body of a male has been discovered, strangled to death, his face pulverized beyond recognition and fingers burned to a crisp. Assigned to the case are local precinct detective, Kaoru Utsumi, and her ex-colleague from headquarters, Shunpei Kusanagi. It turns out that the neighbor of the victim's ex-wife is a college alumnus of brilliant physicist, Manabu Yukawa, aka “Detective Galileo.” He is Tetsuya Ishigami, a high school math teacher whom Yukawa personally considers a true genius. When Yukawa is brought onto help with the case by Utsumi, he begins to suspect that this “true genius” and a with whom Yukawa shares a bond of friendship as an intellectual equal is somehow connected to the murder. Elaborate bluffs, false testimonials, loopholes in logic – all begin to appear in Detective Galileo’s way as if intentionally placed as a challenge by someone with mathematical brilliance.