I'm glad someone has mentioned this.
As someone who did a maths degree 30 odd years ago, I am now struggling to remember whether any of my lecturers were female. The 'memorable' ones certainly weren't.
Though I do remember that in the first year, half were left handed. The students were also predominantly male, maybe only 10-20% were female. Mind you it was good practice for working in software / electronics.