(at around 1h 4 mins) The mathematics homework that the Devil removes from the classroom blackboard was effectively to prove Fermat's Last Theorem--a legendary problem from 1630 that was often the subject of stories about people selling their souls to solve it. The problem was eventually solved in 1995 by Andrew Wiles and colleagues (with computer, not Satanic, assistance).
There is a deleted scene that can be seen on the DVD, which shows Elliot using one of his wishes to become a rock star, playing in a metal band and using a British accent. It was cut out because of images of drug use (Elliot takes a bong hit on stage and Alison tries to kill herself by swallowing pills), foul language (Elliot says a certain four-letter word a number of times), and sexual content (Elliot and Alison start to have sex right in the back room). It can be accessed on the DVD by going to the second Special Features page, highlighting the top choice, and clicking right. A devil on Elizabeth Hurley's shoulder should light up.
According to producer Trevor Albert, the schoolgirl outfit that the Devil wore was actually owned by Elizabeth Hurley.
The scene in the classroom where Elizabeth Hurley is teaching was actually shot in London, England and was a re-shoot of the same scene. However, due to having already starting work on The Mummy Returns (2001), Brendan Fraser was only available for a day or two in between, so director Harold Ramis and his crew had to travel to England and shoot the scene.
In longer versions of the film, Elliot was so pathetic that preview audiences squirmed. It was decided that a little went a long way so it was trimmed down.