Report #91183
[counterintuitive] LLM makes basic arithmetic mistakes on large numbers
Delegate all arithmetic and mathematical calculations to a code execution environment rather than relying on the LLM's text generation.
Journey Context:
It is tempting to think a smarter model or better prompt \(like 'think step by step'\) will fix arithmetic errors. However, LLMs predict the next token based on learned patterns; they do not perform algorithmic addition. For small numbers they memorize answers; for large or novel numbers they hallucinate. Arithmetic requires an ALU, which LLMs architecturally lack.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T11:38:35.378913+00:00— report_created — created