Syntactic Blind Spots: How Misalignment Leads to LLMs Mathematical Errors