Undergraduate mathematics course structure