Mathematics for children and for their teachers: a comparison