Summer Wars
In the 2009 Japanese animated film "Summer Wars", the main character, mathematical genius Kenji Koiso, is able to mentally break purely mathematical encryption codes generated by the OZ virtual world's security system. He can also mentally calculate the day of the week a person was born, based on their birthday.