Skip to content
Back to blog
4 min read

The Ambiguity of 2n

A homework photo turned a simple maths question into three valid answers and a late-night lesson in why notation matters.


Late one evening, a photo of a homework question arrived from a friend's son. He was stuck on it, and honestly I could see why. The question looked straightforward: "If the rule is 2n (double), what is the 5th term?". The worked answer on the photo said 16.

The doubling sequence#

Starting from 1 and doubling each term gives a clean geometric progression.

1, 2, 4, 8, 16

The first term is 1. Each subsequent term is twice the previous one, so by the fifth step you land on 16. I sent back a quick confirmation and assumed we were done.

The notation is less clear than it looks#

Something nagged, though. "2n" and "double" are not necessarily the same instruction. The parenthetical "(double)" in the question is doing a lot of work, quietly disambiguating a notation that, on its own, supports at least two other valid readings. Without it, or with a different reader, the same two characters produce different sequences entirely.

Literal 2n#

If 2n means 2 multiplied by n, the sequence is an arithmetic progression: 2(1), 2(2), 2(3), 2(4), 2(5), giving 2, 4, 6, 8, 10. The 5th term is 10. This is the most literal reading of "2n" as a formula, the kind you would get if you handed the expression to anyone who had just finished an algebra unit.

Doubling from 1#

If "double" means each term doubles the previous, starting from 1, the sequence is geometric: 1, 2, 4, 8, 16. The 5th term is 16. Mathematically, the nth term is 2^(n-1). This is the reading the answer sheet uses, and the one the parenthetical "(double)" steers you towards.

2 to the power of n#

If 2n is interpreted as 2^n, which a computer scientist might default to, the sequence shifts up by one factor of 2: 2^1, 2^2, 2^3, 2^4, 2^5, giving 2, 4, 8, 16, 32. The 5th term is 32. The notation "2n" does not contain an explicit exponent, but in contexts where n appears as a superscript or where exponential growth is the assumed model, this reading is natural.

Three readings, three answers. The 5th term is one of {10, 16, 32}. The minimum is 10, the maximum is 32, a range of 22. A single primary school question with three valid interpretations, all depending on how you parse two characters and a parenthetical.

The text thread#

None of this stayed in my head. What started as confirming why he found it confusing turned into a back and forth of detailed messages, complete with working, sent to a sharp young man who had sensed something was off (and was right) who loved thinking through the problem in different ways. The final message landed the conclusion:

Without clarification the answer to this question is not a number. It's a set of numbers.

So we've turned a simple maths question into a confidence interval.

This is what happens when you ask a computer nerd for help with homework at 20:54 AEST. You don't get an answer, you get a distribution of possible outcomes 😂

Loose threads#

That kind of ambiguity is not unique to primary school worksheets. It shows up in software constantly. An API parameter called timeout could mean seconds or milliseconds. A config value size could be bytes or kilobytes. An error message describes a symptom rather than a cause. If "2n (double)" can generate three valid interpretations among adults, a parameter called retry_count without documentation is doing the same thing silently in production.

There is something about the engineering mindset that cannot leave a loose thread alone. A Year 5 maths question became a set theory exercise not because it needed to be, but because the notation was imprecise and that imprecision was genuinely interesting.