The chatbot that couldn't count to three
In the summer of 2024, people found a funny way to trip up the smartest chatbots in the world. They asked one simple question: How many r's are in the word "strawberry"?
Say it slowly: s-t-r-a-w-b-e-r-r-y. There are three. But popular chatbots kept saying two. Tech news sites wrote stories about it. A chatbot could write a poem in seconds but couldn't count letters in a fruit.
Part of the reason is how these models read. They don't see words one letter at a time. They see chunks of text called tokens, a bit like seeing "straw" and "berry" as two blocks instead of ten letters. And they answered by predicting the next words right away, with no time to work anything out.
Then, on September 12, 2024, OpenAI released a preview of a new kind of model called o1. It was trained to spend time "thinking" through a problem, one step at a time, before it answered. OpenAI tested it on a hard math contest for high school students, called the AIME. Its older GPT-4o model solved only about 1 in 8 of the problems on average. The new reasoning model solved most of them.
- What happened
- OpenAI released a preview of o1, an AI model trained to reason through a problem in steps before giving an answer.
- When
- September 12, 2024, a few weeks after the "strawberry" question made the news.
- Where
- Announced online by OpenAI, the company that makes ChatGPT.
- The result
- Much better scores on hard math and science tests than the earlier GPT-4o model. It also took longer to answer and used more computer power.
Working it out beats blurting it out
Think about a tricky word problem in math class. If you shout the first number that pops into your head, you might get lucky. If you write down each step, you're much more likely to get it right. And if you do make a mistake, you can look back and find it.
Language models work in a similar way. As you learned in How LLMs Answer Questions, a chatbot builds its answer one small piece at a time. When it jumps straight to the final number, it's basically guessing what a correct answer looks like. When it writes out steps first, each step gives it something solid to build the next one on.
Researchers noticed this back in 2022. A team at Google, led by Jason Wei, showed a model a few worked examples, with every step written out, before giving it a new math word problem. The model got much better at multi-step problems. They called this chain-of-thought prompting. Later, companies went further and trained models to work through problems on their own. These are called reasoning models.
Simple definition: chain of thought means working through a problem one step at a time before giving the final answer. A reasoning model is an AI trained to do this on its own.
There's a second trick, too: tools. A language model predicts digits the way it predicts words, so arithmetic can slip. A calculator doesn't guess. So AI assistants learned to hand the math to a tool. In 2023, ChatGPT got a feature called Code Interpreter that let it write a small computer program, run it, and use the real result.
Still true today: step-by-step reasoning makes mistakes much rarer, but it doesn't make them disappear. A model can take careful steps from a wrong starting fact and land on a wrong answer. That's why the steps matter: they let you check the work. For more on why AI makes things up, see AI Hallucinations Explained.
From quick guesses to worked answers
Then (2022–2023)
- Chatbots usually answered right away, with no working-out.
- They often slipped on arithmetic and on counting things like letters.
- You could sometimes help by showing an example with steps written out.
- A wrong answer and a right answer sounded equally sure.
Now
- Many AI assistants have a reasoning or "thinking" mode that works through hard problems first.
- They can use tools, like running code, to check arithmetic instead of guessing digits.
- Math and logic mistakes are much rarer, but not gone.
- Thinking takes more time and more computer power, so it's often saved for harder questions.
- 2022Google researchers show that worked examples with steps help models solve multi-step math word problems. They call it chain-of-thought prompting.
- 2023ChatGPT's Code Interpreter lets it write and run small programs to do calculations and analyze data.
- Summer 2024"How many r's in strawberry?" becomes a famous test that chatbots keep failing.
- September 12, 2024OpenAI releases a preview of o1, a model trained to reason before it answers.
- January 2025The company DeepSeek releases R1, a reasoning model that anyone can download and use.
- TodayOther companies offer their own reasoning or "extended thinking" modes. Checking the steps is still your job.
Fast answer vs. worked answer
Here are four word problems. For each one, you'll see a fast "blurt" answer with no steps. Then reveal the worked answer one step at a time. One step in every worked answer has a mistake. Find it, fix it, and use a tool to check the math.
Did you notice problem 3? The calculator said every bit of arithmetic was right, but the answer was still wrong, because one step started from a wrong fact. Tools are great at checking math. They can't always tell if the idea behind a step makes sense. That part needs a thinking person, like you.
Show your steps, and check them
This habit works for your own homework and for anything an AI tells you. When an answer matters, try these four steps.
Don't take the blurt
A quick answer can sound sure and still be wrong. If it matters, ask for the steps, or write your own.
Check the starting facts
Is each fact true? A week has 7 days, not 5. Careful steps from a wrong fact still end up wrong.
Check the math with a tool
Use a calculator for the arithmetic in each step. It's what AI assistants do too.
Does the answer make sense?
Is it about the right size? If 3 friends share 8 slices, you can't have more slices left than you started with.
Remember: newer AI makes far fewer math mistakes than it used to, but "fewer" isn't "none." For anything important, like a grade, money, or a science project, check the steps yourself.
Try it with your family or class
Pick one of these to talk about at dinner, in the car, or with a classmate.
- In a game, have you ever rushed a move and lost, then realized a slower plan would have worked? How is that like an AI blurting an answer instead of thinking it through?
- Why do math teachers ask you to show your work, even when you get the right answer? Would you trust an AI answer more if it showed its steps? Why?
- Ask a grown-up: when do you use a calculator instead of doing math in your head? When would you want an AI to use one?
Check your understanding
A friend says, "Reasoning models think step by step now, so their answers are always right." In your own words, explain what's true about that and what's missing.
Your answer:
Sample answer: It's true that working through a problem step by step, and using tools like calculators, makes AI much less likely to get math and logic wrong. But it doesn't mean always right. A model can still start from a wrong fact and reason carefully to a wrong answer. The good news is that the steps make mistakes easier to spot, so I should read the steps and check the important ones myself.
Quick quiz
1. What does "chain of thought" mean?
2. Why do AI assistants sometimes use a calculator or run code for math?
3. An AI shows five neat steps. The arithmetic in every step is correct, but step 1 says "a week has 5 days." What's the best conclusion?
You just checked an AI's work
Step-by-step thinking helped AI make fewer mistakes. But how do people know it's fewer? Next, you'll see how researchers test AI, what their leaderboards show, and why a number always needs context.
Part of the AI Then and Now tutorial series.