The only thing you can do is give all you have on that particular day.
I would not dare to say that there is a direct relation between mathematics and madness, but there is no doubt that great mathematicians suffer from maniacal characteristics.
The best ingredients are the foundation of exceptional baked goods.