Is Retrieval-Augmented Generation All You Need? Investigating Structured External Memory to Enhance Large Language Models’ Generation for Math Learning | Synapse