Is the sum of all natural numbers countable?

I do not even know if the question makes sense.

The point is rather simply. If I have the sum of all natural numbers,

$$\sum_{n\in \mathbb{N}}n$$

this is clearly "equal to infinity".

But since almost a century ago, we know that there are (a lot of) different "infinities".

So, is this sum equal to something countable or something bigger?

I tried to look for references, but couldn't find anything and, since I am not an expert in Logic, Set Theory or Foundations of Mathematics, I thought that it would be good to ask here.

Thanks in advance, Davide

PS: This question is about sum of cardinals.
It is not about Calculus.


The $\infty$ from calculus has nothing to do with cardinality.

Now, it is possible to define a sum of cardinal numbers and use that instead of the infinite sum from calculus. If you do that, you do indeed have

$$ \sum_{n \in \mathbf{N}} n = \aleph_0$$

A quick proof of this is that we know the sum is:

$$ \aleph_0 \leq \sum_{n \in \mathbf{N}} n \leq \sum_{n \in \mathbf{N}} \aleph_0 = |\mathbf{N}| \cdot \aleph_0 = \aleph_0 \cdot \aleph_0 = \aleph_0 $$

(the first inequality is because we know the sum is not finite, and $\aleph_0$ is the smallest infinite cardinal)


For reference, the definition of the sum

$$ \sum_{i \in I} \alpha_i $$

where the $\alpha_i$ are cardinal numbers is to choose disjoint sets $S_i$ with $|S_i| = \alpha_i$, and then we define

$$ \sum_{i \in I} \alpha_i = \left| \bigcup_{i \in I} S_i \right| $$

A formulaic way to choose the $S_i$ is as the Cartesian product $S_i = \{ i \} \times \alpha_i$ (where I'm assuming we've defined things so that $\alpha_i$ denotes a specific set). That is, $S_i$ is the set of ordered pairs $(i,a)$ with $a \in \alpha_i$.


Since we want to talk about the sum of cardinals, we first need to make sure that we know what is an infinite sum of cardinals.

And before that we need to make it perfectly clear. These are not natural numbers anymore. These are finite cardinals.

Suppose that $I$ is an index set, and for each $i\in I$, we have a cardinal $a_i$, then $\sum\limits_{i\in I} a_i$ is the cardinality of $\bigcup\limits_{i\in I}A_i$, where $\{A_i\mid i\in I\}$ is a set of pairwise disjoint sets, and $|A_i|=a_i$.

But why is this well-defined? Meaning, given two cardinals, $a,b$ we know that $a+b$ is well defined. If $A,A'$ have cardinality $a$ and $B,B'$ have cardinality $b$, and $A\cap B=A'\cap B'=\varnothing$, then $|A\cup B|=|A'\cup B'|$. How do we prove that? We pick some bijection from $A$ to $A'$ and from $B$ to $B'$ and we show that the union of these bijections is a bijection between the union of the sets.

Well that's fine and dandy. But what happens when we have an infinite sum? Well, if we have an infinite sum then we need to make infinitely many choices. And here we have to appeal to the axiom of choice. But let us, for a moment, assume the axiom of choice holds. In this case the same idea can be applied to the infinite case, we choose bijections as before and show that every two unions of these cardinalities will have the same size.

So in order to calculate what is $\sum\limits_{n\in\Bbb N} n$ we need to find a set which can be partitioned into infinitely many parts, each part having the cardinality of a different finite set. We can do that explicitly with $\Bbb N$ (as another answer shows), or we can use theorems to show that indeed $\Bbb N$ itself is such set. In either case, we have that $\sum\limits_{n\in\Bbb N}n=\aleph_0$.

We can also use other theorems about cardinal arithmetic to bound this sum from above and below by $\aleph_0$. For example, $$\aleph_0=\sum_{n\in\Bbb N}1\leq\sum_{n\in\Bbb N}n\leq\sum_{n\in\Bbb N}\aleph_0=\aleph_0.$$ The first equality holds because $\Bbb N$ is the union of $\aleph_0$ singletons; the second and third are obvious; and the final equality is true because in the presence of the axiom of choice repeated sums can be turn into a multiplication, so this is just $(\aleph_0)^2=\aleph_0$.


But what would happen if we decide not to accept the axiom of choice? Well, then we can't necessarily guarantee that we can choose bijections when considering infinite sums of cardinals. Could that affect the result? Yes, yes it can.

Consider if you will the case where there exists a Russell set, namely an infinite set which can be written as a countable union of pairwise disjoint pairs, but there is no function which chooses one element from each pair. Let $S$ be such set, and $\{S_n\mid n\in\Bbb N\}$ be such partition. We immediately observe that $S$ is not countable, despite being a countable union of pairs. Why? If it were countable, then we could have enumerated its elements and choose from each $S_n$ the one whose index is smaller.

Now the sum $\sum\limits_{n\in\Bbb N}2$ may depend whether or not we choose the $n$-th pair as $S_n$ or as $\{2n,2n+1\}$. In the former case we have a countable union of sets of size $2$, whose size is not countable; in the latter case we have a countable union of sets of size $2$, whose size is countable. So the infinite sum is not well-defined.

Of course, from this we can easily create an example where there are sets of size $n$ whose union is not countable. Simply inflate the $S_n$'s by adding natural numbers. The union of these inflated sets will have $S$ as a subset, so it couldn't possibly be countable (since subsets of a countable set are countable themselves); and on the other hand, well... $\Bbb N$ is the union of $\aleph_0$ finite sets of increasing size as before.

(And all that is left is that you believe me that it is consistent that a Russell set exists, and that is consistent with the failure of the axiom of choice.)


Issues of notation and subtleties of different notions of infinity aside, your intuition is correct. We could "set-ify" this sum as follows:

$$\mathbb{N} = \{1\} \cup \{2,3\}\cup \{4,5,6\} \cup \{7,8,9,10\} \cup\cdots$$


You need to define precisely what is meant by that sum, or the question is simply unanswerable (it has no meaning).

In the context of cardinalities, $\sum_{i\in I} |A_i|$ is understood as the cardinality of the disjoint union of the $A_i$. In that sense, your sum is indeed countable (equals $\aleph_0$).

In the context of ordinals, the sum is understood as the ordinal corresponding to the well-ordering of the set resulting from ordering the finite ordinals (lexicographically), one after the other. This is the ordinal $\omega$.

In the sense of analysis, the sum diverges. Within the extended reals, the sum is $+\infty$. It makes no sense to equate $+\infty$ and $\omega$, and the fact that the ordinal $\omega$ coincides with the cardinal $\aleph_0$ is pretty much an accident in this case, not the indication of some deep underlying principle. All three contexts are different. (That said, if $I$ is an ordinal, and the $\alpha_i$ are all ordinals, the ordinal sum $\sum_{i\in I}\alpha_i$ has cardinality the cardinal sum $\sum_{i\in I}|\alpha_i|$.)