Teaching mathematics main courses in colleges of education