Why do LLMs struggle with exact arithmetic and counting?
IntermediateConceptLLM fundamentals
Answer
They process tokens, not individual digits or characters, and they predict text rather than execute calculations. A number like 48213 may be split oddly into tokens. The fix is to give the model a calculator or code-execution tool and let it delegate exact work.