Knowing and teaching elementary mathematics