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, delirium and symptoms of schizophrenia.
Statement of 1996, as quoted in Dr. Riemann's Zeros (2003) by Karl Sabbagh, p. 88