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.


Folksonomies: computer science

/science/mathematics/arithmetic (0.931482)
/science/mathematics/algebra (0.774591)

Natural number (0.959520): dbpedia_resource
Number (0.849885): dbpedia_resource
0 (0.800101): dbpedia_resource
Mathematics (0.756512): dbpedia_resource
Ordinal number (0.676876): dbpedia_resource
Set (0.673096): dbpedia_resource
Cardinality (0.664206): dbpedia_resource
Finite set (0.631214): 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
  • Source Material [www.cs.utexas.edu]
  • Folksonomies: computer science