- #1
1plus1is10
- 51
- 0
"Quantity in a group"
If you have 6 apples and you subtract 4, then you have 2 apples left "in the group".
"Quantity in an Indexed group"
I'm a computer programmer - I manipulate arrays of data (a.k.a. matrix)
In a math formula format: x1, x2, x3... xn
(as a side note - in a computer format: x[0], x[1], x[2]... x[n-1])
If I want the "quantity" from 6 to 4, then I always have to add 1 (6-4=2, 2+1=3 quantity)
Quantity of 3: x4, x5, x6
Surprisingly, I was never taught this in grade school or high school.
Not to mention I always thought it had to do with the fact that a computer's array starts with index 0: x[0]
(It doesn't, although that fact adds confusion when turning math formulas into code)
My question is: Does this "add 1" scenario have a mathematical name?
(I've been trying to Google about it to add a note/comment to my code to explain "+1" without sounding stupid)
Thanks
If you have 6 apples and you subtract 4, then you have 2 apples left "in the group".
"Quantity in an Indexed group"
I'm a computer programmer - I manipulate arrays of data (a.k.a. matrix)
In a math formula format: x1, x2, x3... xn
(as a side note - in a computer format: x[0], x[1], x[2]... x[n-1])
If I want the "quantity" from 6 to 4, then I always have to add 1 (6-4=2, 2+1=3 quantity)
Quantity of 3: x4, x5, x6
Surprisingly, I was never taught this in grade school or high school.
Not to mention I always thought it had to do with the fact that a computer's array starts with index 0: x[0]
(It doesn't, although that fact adds confusion when turning math formulas into code)
My question is: Does this "add 1" scenario have a mathematical name?
(I've been trying to Google about it to add a note/comment to my code to explain "+1" without sounding stupid)
Thanks