Well I wouldn't put mathematics and philosophy on the same degree.
They're both widely different.
Mathematics are based on reasoning and logic. If you possess a great understanding of logic then it's easier to comprehend maths.
Philosophy is often based on psychoanalysis and it's not concrete "science" (if you can call philosophy science). Nothing is ever right or wrong in philosophy, not like maths where a theorem can be demonstrated being right or wrong.
You will often find in Philosophy books that a philosopher debates against a thesis from another philosopher.
But you will never know until you try it of course
Who knows, you might be the next René Descartes.