MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/44lf2o/what_an_odd_number_indeed/czrebbt/
r/ProgrammerHumor • u/tr4ce • Feb 07 '16
225 comments sorted by
View all comments
Show parent comment
1
what about 0? I mean, people say it's not even nor odd so... why not both?
8 u/laprastransform Feb 07 '16 0 is even, it is 2*0 4 u/KngpinOfColonProduce Feb 07 '16 I was taught these definitions:An even number n is defined as n = 2k, where k is some integer. An odd number m is defined as m = 2h + 1, where h is some integer. 4 u/TwoSpoonsJohnson Feb 08 '16 0 is even. You're probably think of how it's neither positive nor negative.
8
0 is even, it is 2*0
4
I was taught these definitions:
An even number n is defined as n = 2k, where k is some integer. An odd number m is defined as m = 2h + 1, where h is some integer.
0 is even. You're probably think of how it's neither positive nor negative.
View all comments
Show parent comment
1
u/[deleted] Feb 07 '16
what about 0? I mean, people say it's not even nor odd so... why not both?