1. 13
  1.  

  2. 2

    It’s all kind of arbitrary. The reason for the range (i, j) really getting us elements (i,i+1 ... j-1) is as arbitrary as zero indexing. MATLAB, for example, has one indexing and is inclusive of j.