0 positive or not


#1

Should 0 really be considered as a non positive? I learned math at a french school, and 0 is definitely considered as a positive (k / k >= 0) and negative (k / k <= 0) number , and “strictly positive” is used when you want to exclude it from an interval.

To avoid other people making the same mistake, would it be possible to change

a and b are positive integers
to
a and b are strictly positive integers

Thank you


#2

You’re right. Zero is neither positive nor negative. In the problem statement it is considered as a positive integer, which is wrong. @admin


#3

You should brush up your mathematics fundamentals.
Positive by definition means anything which lies on the right of 0 on the number line.
Mentioning that “a and b are positive integers” is sufficient to interpret that a>=1 and b>=1.
FYI, non negative means >=0 (including 0). Positive means > 0 . Adding strictly to it does not give additional information to it.


#4

0 is neither positive or negative.

Positive Integers :- 1,2,3,4,5…
Negative Integers :- … -4, -3, -2, -1
Non-Positive Integer :- …- 4,-3,-2,-1, 0
Non-Negative Integers :- 0,1,2,3,4…

Non-Positive Integer = Negative + Zero
Non-Negative Integers = Zero + Positive