Integrating Arithmetic Learning Improves Mathematical Reasoning in Smaller Models