Why AI can solve hard math problems but can't count Large language models continue to fail at simple letter-counting tasks, such as identifying the number of R's in "strawberry" or P's in "Google," despite making rapid advances in complex scientific reasoning and agentic coding. The persistent failure, which has become a canonical example of AI limitations since 2024, challenges the common explanation that tokenization—the process of breaking words into subword units—is the root cause. This discrepancy raises questions about fundamental gaps in how these models process language, even as they are increasingly deployed in critical business sectors like finance. Why AI can solve hard math problems but can't count AI keeps whiffing on this simple question There are no P’s in the word “Google,” but someone still needs to tell Gemini this — Google’s own AI Overview keeps suggesting there are P’s when asked. Back in 2024, asking a model to count the R’s in “strawberry” became the internet’s canonical https://www.reddit.com/r/singularity/comments/1enqk04/how many rs in strawberry why is this a very/ example https://medium.com/@danisaysskol/breaking-down-llm-thought-process-the-strawberry-question-bdc564cc77a4 of weird AI failure modes. Most models of that generation counted letters wrong https://arxiv.org/pdf/2412.18626 about half of the time. Since then, LLMs have made https://metr.org/time-horizons/ rapid leaps https://artificialanalysis.ai/articles/claude-opus-4-8-analysis-and-benchmarks in everything from scientific reasoning to agentic coding, while major businesses have begun to rely on them in critical areas like finance https://www.cfo.com/news/inside-anthropic-claude-rapid-expansion-across-corporate-finance-cfo-/820806/ . And yet, somehow, they still suffer on tasks like counting the R’s in “strawberry,” the P’s in Google, or the N’s in the days of the week, which I asked ChatGPT to do today: How is it that models can now solve historic math problems https://www.understandingai.org/p/openais-milestone-math-breakthrough but still fail to count letters in a word? The typical https://www.runpod.io/blog/llm-tokenization-limitations explanation here has to do with “ tokenization https://huggingface.co/docs/transformers/en/main classes/tokenizer .” LLMs don’t read English characters; they break words into subwords, like “st -raw - berry.” Each segment of the word is a token, which is used because it’s the most efficient unit of language to compute compared to the vast library of whole words . Under this theory, the counting issue has to do with how familiar an LLM is with a given token from its training data. That explanation never quite made sense to me. “Strawberry” is a very common word. Even if it were tokenized several different ways within the training data “st -raw - berry” and “straw - be -rry” , its tokens would still be quite familiar. Keep reading with a 7-day free trial Subscribe to The Argument to keep reading this post and get 7 days of free access to the full post archives.