4 ms·
Oh sure, but then the article started talking about sheep and rocks and I'm like "Oh boy, I bet I totally don't understand what it means to be even!"
by mabbo 8y ago
Oh sure, but then the article started talking about sheep and rocks and I'm like "Oh boy, I bet I totally don't understand what it means to be even!"
- aidenn0 8y agoWell you can reduce the +/- notation further by allowing yourself to (after removing all +/- pairs) to remove pairs of sequential + tokens, and if it reduces to an empty string then it's an even number, otherwise it's an odd number.