Mathematical induction : an epistemological study with consequences for teaching