how long does it take to learn discrete mathematics