Is 0 a natural number? Respected textbooks give opposite answers, and neither is wrong: whether 0 is included is a convention, not a fact. This lesson shows exactly what each convention says and who uses it, how to translate between them, and what “whole numbers” means.
Facts and conventions
Lesson 1.4 defined the natural numbers as the numbers of members of collections that can be counted to the end, so the list starts with 0, the number of members of an empty collection. Other books start the list at 1 instead, as the table below shows. The choice changes which numbers receive the name “natural”; it changes nothing about the numbers themselves.
A convention is an agreed choice about how a word or a symbol is used.[1] Being a choice, it is neither true nor false; a careful text states it once and then follows it consistently.
Mathematics books state conventions all the time. A logic textbook, for example, fixes by convention how far a symbol reaches in a formula[1], and a textbook on computability gives a function a value at 0 “by convention” where the natural definition gives none.[2]
A row of objects is to be counted. Must the count start at the left end?
- By the theorem of lesson 1.1, every correct count of a collection ends with the same word, whatever the order.
- So starting at the left, at the right, or in the middle gives the same number of objects.
- Starting at the left is a habit that helps people agree on what to do; it is not a fact about the row.
Answer: no. Where to start is a convention. The number of objects is a fact, and no choice of convention changes it.
A convention can change the answer to a question without changing any fact. “What is the smallest natural number?” has the answer 0 under one convention and 1 under the other. The number 0 itself, and the fact that an empty collection has 0 members, are the same under both.
The two conventions, book by book
The table below quotes the definitions in standard textbooks and in the original sources, with the exact list each one calls the natural numbers.
| Source | Its natural numbers | What it says |
|---|---|---|
| Rosen, Discrete Mathematics and Its Applications (2019) | 0, 1, 2, 3, … | It defines ℕ = {0, 1, 2, 3, …}, warns that mathematicians disagree whether 0 is a natural number, and says that it considers 0 “quite natural”.[3] |
| Velleman, How to Prove It (2006) | 0, 1, 2, 3, … | It defines ℕ = {0, 1, 2, 3, …} and notes that some books include 0 and some do not; it chooses to include it.[6] |
| Ebbinghaus et al., Numbers (1991) | 0, 1, 2, 3, … | Its definition of the natural numbers contains a distinguished element 0, called zero.[7] |
| Dijkstra, Why numbering should start at zero (1982) | 0, 1, 2, 3, … | It argues that zero should be regarded as “a most natural number”.[8] |
| Burton, Elementary Number Theory (2011) | 1, 2, 3, … | It calls the positive integers 1, 2, 3, … the natural numbers.[9] |
| Sipser, Introduction to the Theory of Computation (2013) | 1, 2, 3, … | It writes the set of natural numbers as {1, 2, 3, …}.[10] |
| Dedekind; Peano (1889) | 1, 2, 3, … | Dedekind began the counting process with 1[11], and Peano’s axioms of 1889 took 1 as their starting element.[12] |
| Cambridge Dictionary | either | A natural number is a whole number greater than zero, “or sometimes” one that includes zero itself.[15] |
The table shows that the choice follows neither the period nor the field: books on number theory, logic, discrete mathematics and computation, from Peano’s axioms of 1889 to Rosen’s book of 2019, fall on both sides, and Peano himself changed sides. A careful book states its choice, as Rosen and Velleman do, and Rosen advises the reader to check how other books use the term.[5]
A reader learns from Rosen that ℕ = {0, 1, 2, 3, …} and from Sipser that ℕ = {1, 2, 3, …}. Does “the natural numbers less than 3” mean the same collection in both books?
- In Rosen’s convention the natural numbers less than 3 are 0, 1 and 2.
- In Sipser’s convention they are 1 and 2: the number 0 is not among Sipser’s natural numbers.
- Counting: “one, two, three” for the first collection, “one, two” for the second.
Answer: no. The same words describe a collection of 3 numbers in one book and of 2 in the other.
Names and symbols
Both conventions use the letter ℕ, so ℕ alone does not say whether 0 is included. The numbers 1, 2, 3, … have a name of their own that does not depend on this choice: the positive integers, written ℤ⁺ = {1, 2, 3, …}.[16] A superscript plus sign on the letter of a number system means that only its positive numbers are taken.[17]
- The natural numbers are 0, 1, 2, 3, … , written ℕ.
- The numbers 1, 2, 3, … are called the positive natural numbers. They are the positive integers ℤ⁺ of other books.
- Whole numbers means the same as natural numbers: 0, 1, 2, 3, …
The integers, which also include negative numbers, are introduced in the unit Integers; the letter ℤ belongs to them. Here ℤ⁺ is only a name for the list 1, 2, 3, …
“Whole numbers”
The phrase whole numbers is even less settled than “natural numbers”. A dictionary describes a whole number only as a number with no fractional part.[18] The same book can use it in two ways: Conway and Guy’s The Book of Numbers calls 1, 2, 3, … “the familiar whole numbers” on one page[19] and 0, 1, 2, 3, … “the ordinary whole numbers” three pages later.[20]
Leopold Kronecker’s famous saying about the numbers made by God appears in three books. Which numbers does each translation name?
- Ebbinghaus’s Numbers prints the German original and translates it as “God made the whole numbers”.[21]
- A later page of the same book renders the same saying with “the integers”.[22]
- Burton’s Elementary Number Theory quotes it as “God created the natural numbers”.[23]
Answer: “whole numbers”, “integers” and “natural numbers” are used for the same words of Kronecker. The phrase alone does not fix the collection; only a stated definition does.
Whenever a text uses “natural numbers” or “whole numbers”, look for its definition before relying on it.
Counting from zero
The two conventions have a counterpart in counting itself. Lesson 1.1 counts by matching the members of a collection with the words from “one”; the number of members is the last word used. Many mathematicians prefer to count from zero instead[24]: tag the members 0, 1, 2, … in order, and then the number of members is the first tag that was not used.[25]
For every natural number n, the natural numbers less than n, counted, are exactly n in number.
If n is 0, no natural number is less than 0, so the collection is empty and has 0 members. Let n be other than 0. Pair each natural number k less than n with the number word for the successor of k. This pairing is a one-to-one correspondence between the numbers less than n and the words from “one” to n:
- Each k less than n is paired with a word from “one” to n. The successor of k is not 0 (lesson 1.4). It is not greater than n either: otherwise n would be greater than k and less than the successor of k, and lesson 1.4 proved that no natural number lies strictly between a number and its successor. So the successor of k is one of 1, 2, …, n, and its number word is one of the words from “one” to n.
- Different numbers k have different successors (lesson 1.4), so no word is used twice.
- Every word j from “one” to n is used: j is not 0, so it is the successor of a number k (lesson 1.4). Every number is less than its successor, so k is less than j, and j is less than or equal to n; so k is less than n, and k is paired with j.
By the definition of counting, the collection of natural numbers less than n has n members.
If the members of a collection are tagged 0, 1, 2, … in order, each member with one tag and no tag skipped, then the first tag not used is the number of members.
Let m be the first tag not used. The tags were used in the order 0, 1, 2, … without skipping, so the tags used are all the numbers that come before m in this list, and no others; by lesson 1.4, these are exactly the natural numbers less than m. The members are matched one to one with these tags, and by the Proposition there are m of them. (For an empty collection no tag is used, m is 0, and the collection has 0 members.)
So the tag of each member equals the number of members tagged before it. Dijkstra used exactly this property to argue that the numbering of positions should start at zero.[26]
The story is told, and is presumably apocryphal, that the mathematician Wacław Sierpiński once feared he had lost a piece of luggage: his wife said all six pieces were there, but he had counted them “zero, one, two, three, four, five”.[27] How many pieces were there?
- He tagged the pieces from zero. The tags used were 0, 1, 2, 3, 4, 5.
- By the Corollary, the number of pieces is the first tag not used: 6.
- His mistake was to mix the conventions: he tagged from zero but read off the last tag used, as one does when counting from one.
Answer: 6 pieces. Each method is correct on its own; mixing them is not.
Lesson 1.3 showed someone counting three cups as “zero, one, two” and concluding that there are two. Explain the error with the Corollary.
- Read as tags, the cups received 0, 1 and 2, so the first tag not used is 3: there are 3 cups.
- Read as a count from “one”, the words are wrong from the start: the first cup must receive “one”.
Answer: there are 3 cups. “Two” is the last tag used, which is never the number of members when tagging from zero.
Translating between the conventions
Pairing each natural number n with its successor is a one-to-one correspondence between the list 0, 1, 2, 3, … and the list 1, 2, 3, 4, …
Every number n of the first list is paired with exactly one number, its successor, which is not 0 (lesson 1.4), so it lies in the second list. Every number of the second list is other than 0, so it is the successor of exactly one natural number (lesson 1.4), and is therefore paired with exactly one number of the first list.
The Proposition is the exact dictionary between the two conventions: whatever a book says about its “natural numbers” can be said about the other list by moving every number one place along. Statements that mention particular numbers, or 0, must be translated; statements about collections and their members need no translation at all.
Is the sentence “the number of members of every collection that can be counted to the end is a natural number” true?
- With ℕ starting at 0: every such collection has 0, 1, 2, … members, all of them natural numbers. True.
- With ℕ starting at 1: an empty collection has 0 members, and 0 is not a natural number in this convention. False.
- Translated into the second convention, the true statement reads: “every collection that can be counted to the end is empty or has a natural number of members”.
Answer: true under this site’s convention, false as written under the other, true under both once translated.
- With ℕ starting at 0: the natural numbers less than 5 are 0, 1, 2, 3, 4. By the Proposition on counting from zero there are 5 of them; counting confirms it.
- With ℕ starting at 1: they are 1, 2, 3, 4, that is 4 numbers.
Answer: 5 or 4, depending on the convention. The numbers themselves are the same; only the name “natural” covers different lists.
Same question, two conventions
- Round
- 1
- Score
- 0
- Streak
- 0
Each round fixes a convention for ℕ. Mark the numbers the question is about, answer under that convention, and then switch to the other convention to see whether the answer changes.
With ℕ starting at 0: How many natural numbers are less than or equal to 4?
Tap the numbers to mark them. Marked: none (0)
Exercises
How many natural numbers are less than or equal to 3 in Velleman’s book? In Sipser’s?
▸ Show solution
Velleman’s convention includes 0, so the natural numbers less than or equal to 3 are 0, 1, 2, 3: four numbers. Sipser’s does not, so they are 1, 2, 3: three numbers.
A student reads that the natural numbers are 1, 2, 3, … and concludes that 0 is not a number at all. Correct the mistake.
▸ Show solution
Under both conventions 0 is a number: it is the number of members of an empty collection (lesson 1.3). The convention only decides whether it is called a natural number. So the student is wrong: the sentence “0 is not a natural number” in Burton’s convention says nothing against 0 being a number.
A machine tags objects 0, 1, 2, … in order and the last tag it prints is 7. How many objects were there? What would the last word be when counting them from “one”?
▸ Show solution
Tagging from zero, the first tag not used is the number of objects: 8 objects were tagged 0 to 7.
Counting from one, the last word used is the number of objects: the words were “one” to “eight”.
Under the pairing of each number with its successor, which number corresponds to 0? Is the statement “every natural number has a predecessor that is also a natural number” true under either convention?
▸ Show solution
In the list starting at 0, the smallest number is 0; it is paired with its successor 1, the smallest number of the list starting at 1. In general the translation moves every number one place along, so the smallest number of the first list corresponds to the smallest of the second.
The statement “every natural number has a predecessor” is false under both conventions: 0 has no predecessor, and in the list 1, 2, 3, … the number 1 has no predecessor in that list.
Check the Proposition on counting from zero for n = 4 in two ways.
▸ Show solution
The natural numbers less than 4 are 0, 1, 2, 3. Tag the four numbers with themselves: the tags used are 0, 1, 2, 3, so the first tag not used is 4. By the Corollary there are 4 of them.
With the Proposition directly: pair 0 with “one”, 1 with “two”, 2 with “three”, 3 with “four”. Each number is paired with the word of its successor, and the words are exactly “one” to “four”.
Summary
- A convention is an agreed choice of words or symbols. It is not true or false, but it must be stated and followed consistently.
- Rosen, Velleman, Ebbinghaus and Dijkstra take the natural numbers to be 0, 1, 2, 3, …; Burton, Sipser, Dedekind and Peano take them to be 1, 2, 3, …
- On this site the natural numbers and the whole numbers are 0, 1, 2, 3, …; the numbers 1, 2, 3, … are the positive natural numbers, ℤ⁺ in other books.
- Counting from zero, the number of members is the first tag not used; counting from one, it is the last word used. Mixing the two gives wrong answers.
- Pairing each number with its successor matches the two lists one to one, so every statement can be translated from one convention into the other.
Sources
- 1.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 1, “Sentential Logic”, section 1.1, “Deductive Reasoning and Logical Connectives”, p. 11 (the whole topic: pp. 11).
“However, we must agree on some conventions about how to read such expressions so that they are still unambiguous. One convention is that the symbol ¬ always applies only to the statement that comes immediately after it.”
Used for: a convention is an agreed way of reading or using symbols; a logic textbook fixes by convention how far a symbol reaches in a formula. - 2.George S. Boolos, John P. Burgess and Richard C. Jeffrey, Computability and Logic (4th ed., Cambridge University Press, 2002).Chapter 6, “Recursive Functions”, section 6.1, “Primitive Recursive Functions” (Example 6.7, “The (modified) predecessor function”), p. 69 (the whole topic: pp. 68–70).
“Define pred (x) to be the predecessor x − 1 of x for x > 0, and let pred(0) = 0 by convention.”
Used for: a textbook on computability gives a function a value at 0 by convention where the natural definition gives none. - 3.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 2, “Basic Structures: Sets, Functions, Sequences, Sums, and Matrices”, section 2.1, “Sets” (2.1.1, “Introduction”), p. 122 (the whole topic: pp. 122–123).
“Beware that mathematicians disagree whether 0 is a natural number. We consider it quite natural.”
Used for: Rosen warns that mathematicians disagree whether 0 is a natural number and considers it “quite natural” (a margin note). - 4.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 2, “Basic Structures: Sets, Functions, Sequences, Sums, and Matrices”, section 2.1, “Sets” (2.1.1, “Introduction”), p. 122 (the whole topic: pp. 122–123).
“N = {0, 1, 2, 3, …}, the set of all natural numbers”
Used for: Rosen defines ℕ = {0, 1, 2, 3, …}. - 5.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 2, “Basic Structures: Sets, Functions, Sequences, Sums, and Matrices”, section 2.1, “Sets” (2.1.1, “Introduction”), p. 123 (the whole topic: pp. 122–123).
“Note that some people do not consider 0 a natural number, so be careful to check how the term natural numbers is used when you read other books.”
Used for: Rosen tells the reader that some people do not consider 0 a natural number and to check how other books use the term. - 6.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 1, “Sentential Logic”, section 1.3, “Variables and Sets”, p. 31 (the whole topic: pp. 31).
“N = {x | x is a natural number} = {0, 1, 2, 3, . . .}. (Some books include 0 as a natural number and some don’t. In this book, we consider 0 to be a natural number.)”
Used for: Velleman defines ℕ = {0, 1, 2, 3, …}, notes that some books include 0 and some do not, and states its own choice. - 7.H.-D. Ebbinghaus et al., Numbers (trans. H. L. S. Orde, Springer (Graduate Texts in Mathematics 123), 1991).Chapter 1, “Natural Numbers, Integers, and Rational Numbers” (K. Mainzer), section §2, “Natural Numbers”, 1, “Definition of the Natural Numbers”, p. 14 (the whole topic: pp. 14–15).
“The natural numbers form a set N, containing a distinguished element 0, called zero”
Used for: Ebbinghaus et al. define the natural numbers with a distinguished first element 0. - 8.Edsger W. Dijkstra, “Why numbering should start at zero (EWD 831)”, E. W. Dijkstra Archive, University of Texas at Austin (11 August 1982).
“And the moral of the story is that we had better regard —after all those centuries!— zero as a most natural number.”
Used for: Dijkstra (1982) argues that zero should be regarded as “a most natural number”. - 9.David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).Chapter 1, “Preliminaries”, section 1.1, “Mathematical Induction”, p. 1 (the whole topic: pp. 1).
“more particularly with the positive integers 1, 2, 3, . . . (also known as the natural numbers).”
Used for: Burton calls the positive integers 1, 2, 3, … the natural numbers. - 10.Michael Sipser, Introduction to the Theory of Computation (3rd ed., Cengage Learning, 2013).Chapter 0, “Introduction”, section 0.2, “Mathematical Notions and Terminology” (“Sets”), p. 4 (the whole topic: pp. 3–4).
“Thus we write the set of natural numbers N as {1, 2, 3, . . .}.”
Used for: Sipser writes the set of natural numbers as {1, 2, 3, …}. - 11.H.-D. Ebbinghaus et al., Numbers (trans. H. L. S. Orde, Springer (Graduate Texts in Mathematics 123), 1991).Chapter 1, “Natural Numbers, Integers, and Rational Numbers” (K. Mainzer), section §2, “Natural Numbers”, 1, “Definition of the Natural Numbers”, p. 15 (the whole topic: pp. 14–15).
“Many mathematicians prefer, as did DEDEKIND, to begin the counting process with 1.”
Used for: Dedekind began the counting process with 1. - 12.H.-D. Ebbinghaus et al., Numbers (trans. H. L. S. Orde, Springer (Graduate Texts in Mathematics 123), 1991).Chapter 1, “Natural Numbers, Integers, and Rational Numbers” (K. Mainzer), section §2, “Natural Numbers”, 4, “Peano’s Axioms”, p. 19 (the whole topic: pp. 18–19).
“Historically PEANO in 1889 laid down a set of nine axioms (with 1 as the distinguished element) in his Arithmetices principia nova methodo exposita”
Used for: Peano’s axioms of 1889 took 1 as their starting element. - 13.“Peano’s axioms for the Natural numbers”, MacTutor History of Mathematics Archive, University of St Andrews.
“1 is a natural number.”
Used for: Peano’s axioms begin with 1 as a natural number. - 14.“Peano’s axioms for the Natural numbers”, MacTutor History of Mathematics Archive, University of St Andrews.
“Peano later altered his axioms so that”
Used for: Peano later changed his axioms so that 0 was included (the sentence ends “ℕ included 0”, with ℕ set in mathematical type). - 15.“natural number”, Cambridge Dictionary, Cambridge University Press.Section “Meaning of natural number in English”. dictionary.cambridge.org/dictionary/english/natural-number · open at the quoted passage.
“that is greater than zero, or sometimes that includes zero itself”
Used for: a dictionary defines a natural number as a whole number greater than zero, or sometimes one that includes zero. - 16.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 2, “Basic Structures: Sets, Functions, Sequences, Sums, and Matrices”, section 2.1, “Sets” (2.1.1, “Introduction”), p. 122 (the whole topic: pp. 122–123).
“Z+ = {1, 2, 3, …}, the set of all positive integers”
Used for: the numbers 1, 2, 3, … are the positive integers, written ℤ⁺. - 17.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 1, “Sentential Logic”, section 1.3, “Variables and Sets”, p. 31 (the whole topic: pp. 31).
“The letters R, Q, and Z can be followed by a superscript + or − to indicate that only positive or negative numbers are to be included in the set.”
Used for: a superscript plus sign on the letter of a number system means that only its positive numbers are taken. - 18.“whole number”, Cambridge Dictionary, Cambridge University Press.Section “Meaning of whole number in English”. dictionary.cambridge.org/dictionary/english/whole-number · open at the quoted passage.
“that has no fractions and no digits after the decimal point”
Used for: a dictionary describes a whole number only as a number with no fractional part, without saying whether 0 is included. - 19.John H. Conway and Richard K. Guy, The Book of Numbers (Copernicus (Springer), 1996).Chapter 1, “The Romance of Numbers”, section “Kinds of Numbers”, p. 22 (the whole topic: pp. 22–25).
“The familiar whole numbers, 1, 2, 3, . . . (Chapter 2) have a history that starts even before our own.”
Used for: Conway and Guy call 1, 2, 3, … “the familiar whole numbers”. - 20.John H. Conway and Richard K. Guy, The Book of Numbers (Copernicus (Springer), 1996).Chapter 1, “The Romance of Numbers”, section “Kinds of Numbers”, p. 25 (the whole topic: pp. 22–25).
“These are generalizations of the ordinary whole numbers, 0, 1, 2, 3, . . . .”
Used for: three pages later Conway and Guy call 0, 1, 2, 3, … “the ordinary whole numbers”. - 21.H.-D. Ebbinghaus et al., Numbers (trans. H. L. S. Orde, Springer (Graduate Texts in Mathematics 123), 1991).Chapter 1, “Natural Numbers, Integers, and Rational Numbers” (K. Mainzer), section chapter epigraph, p. 9 (the whole topic: pp. 9).
“(KRONECKER, Jahresber. DMV 2, S. 19). [God made the whole numbers, all the rest is the work of Man.]”
Used for: Ebbinghaus prints Kronecker’s saying in German (“Die ganzen Zahlen hat der liebe Gott gemacht, alles andere ist Menschenwerk”, just before the quoted reference) and translates it with “whole numbers”. - 22.H.-D. Ebbinghaus et al., Numbers (trans. H. L. S. Orde, Springer (Graduate Texts in Mathematics 123), 1991).Chapter 1, “Natural Numbers, Integers, and Rational Numbers” (K. Mainzer), section §3, “The Integers”, p. 19 (the whole topic: pp. 19).
“KRONECKER’s famous quip that the Good Lord made the integers and that all the rest is the work of man is well known.”
Used for: a later page of the same book renders the saying with “the integers”. - 23.David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).Chapter 1, “Preliminaries”, section 1.1, “Mathematical Induction”, p. 1 (the whole topic: pp. 1).
“the mathematician Leopold Kronecker once remarked, “God created the natural numbers, and all the rest is the work of man.””
Used for: Burton’s Elementary Number Theory quotes Kronecker’s saying as “God created the natural numbers”. - 24.John H. Conway and Richard K. Guy, The Book of Numbers (Copernicus (Springer), 1996).Chapter 10, “Infinite and Infinitesimal Numbers”, section “Counting from Zero”, p. 265 (the whole topic: pp. 265–266).
“Many mathematicians prefer to count objects starting at “zero” rather than “one.””
Used for: many mathematicians prefer to count from zero. - 25.John H. Conway and Richard K. Guy, The Book of Numbers (Copernicus (Springer), 1996).Chapter 10, “Infinite and Infinitesimal Numbers”, section “Counting from Zero”, p. 265 (the whole topic: pp. 265–266).
“If you count this way, then the number of objects you’ve counted is the earliest number that you didn’t use, rather than the latest one you did”
Used for: counting from zero, the number of objects is the first number not used, not the last one used. - 26.Edsger W. Dijkstra, “Why numbering should start at zero (EWD 831)”, E. W. Dijkstra Archive, University of Texas at Austin (11 August 1982).
“So let us let our ordinals start at zero: an element's ordinal (subscript) equals the number of elements preceding it in the sequence.”
Used for: Dijkstra argued for numbering positions from zero because then each element’s number equals the number of elements before it. - 27.John H. Conway and Richard K. Guy, The Book of Numbers (Copernicus (Springer), 1996).Chapter 10, “Infinite and Infinitesimal Numbers”, section “Sierpiński’s Luggage”, p. 265 (the whole topic: pp. 265–266).
“The story, presumably apocryphal, is that once when he was travelling, he was worried that he’d lost one piece of his luggage. “No, dear!” said his wife, “All six pieces are here.” “That can’t be true,” said Sierpiński, “I’ve counted them several times: zero, one, two, three, four, five.””
Used for: the story, presumably apocryphal, of Sierpiński counting his six pieces of luggage “zero, one, two, three, four, five”.