Getting Real Work out of a ModelLesson 39 of 72

Module 5 · Making it work the problem

Arithmetic it should not do in its head

In this lesson

  • 9 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 3 of 9 in this chapter

This chapter’s goalJudge from a task’s structure whether shown reasoning will improve it, split a task that fails in one pass into steps that each succeed and can each be checked, and state precisely what a chain of shown reasoning is not evidence of.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmWatch1:58Not available
Full audiobookNot availableNot available
Wrong totals per hundred sums, by methodIn prose, ten rows3In prose, forty rows18In code, forty rows0In code, but inputsmisread2wrong per 100Code removes the arithmetic error, which rose steeply with the number of rows. It leaves theextraction error untouched, which is why printing the parsed rows matters more than checking thetotal.
Code removes the arithmetic error, which rose steeply with the number of rows. It leaves the extraction error untouched, which is why printing the parsed rows matters more than checking the total.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 9Free · no account needed
Lesson steps

Why the sums go wrong

A model produces digits the way it produces words: one token at a time, each chosen because it is a likely continuation. There is no arithmetic unit. On small, familiar sums this works, because the patterns are all over the training data. On long multiplication, percentages of awkward numbers, date arithmetic across months, or a column of forty figures, it drifts.

The failure is quiet. 4,182 × 37 produces a plausible six-digit number that is wrong in the middle. Nothing about the output looks different from a correct one.

Add the tokenisation problem from module one (long numbers are split into digit groups in ways that vary between models) and you have a system that is fluent about quantities and unreliable with them.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the AI, Actually Explained exam.

Stuck on something?Ask Asha, your AI tutor

How to cite: Addaly (2026) ‘Arithmetic it should not do in its head’, in Getting Real Work out of a Model. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/prompting/arithmetic-and-code (Accessed: 29 November 2026).