Unfortunately, learning maths while sleeping is impossible because it requires understanding (making sense of teaching and learning mathematics with understanding) rather than memorising or simply exposing it.