The short answer
Math alarms work well for one specific failure mode: dismissing an alarm while half asleep and not remembering it. They work considerably less well for people who solve the problem in bed and then drift back off, which is a different problem entirely.