A talented and autistic math student, Sergey inherits from his grandfather a mysterious album with cryptic formulae. They help Sergey to create a smartphone app allowing regular people to use magic - but then a real imp comes to claim the album.