# Why numbering should start at zero

When dealing with a sequence of length N, the elements of which we wish to distinguish by subscript, the next vexing question is what subscript value to assign to its starting element. Adhering to convention a) yields, when starting with subscript 1, the subscript range 1 ≤ i < N 1; starting with 0, however, gives the nicer range 0 ≤ i < N. So let us let our ordinals start at zero: an element's ordinal (subscript) equals the number of elements preceding it in the sequence. And the moral of the story is that we had better regard —after all those centuries!— zero as a most natural number.

## Notes:

**Folksonomies:** computer science

**Taxonomies:**

/science/mathematics/arithmetic (0.931778)

/science/mathematics/algebra (0.775808)

**Concepts:**

Natural number (0.959520): dbpedia_resource

Number (0.849859): dbpedia_resource

0 (0.800076): dbpedia_resource

Mathematics (0.756486): dbpedia_resource

Ordinal number (0.676848): dbpedia_resource

Set (0.673069): dbpedia_resource

Cardinality (0.664181): dbpedia_resource

Finite set (0.631188): dbpedia_resource

**Why numbering should start at zero**

**Electronic/World Wide Web>**

**Internet Article:**Dijkstra, Edsger (11 August 1982)

*, Why numbering should start at zero*, Retrieved on 2019-11-08

**Folksonomies:**computer science