How can you determine whether the sum of several numbers, such as 13 + 45 + 24 + 17, is even or odd without actually calculating the sum?

2020-09-24 3:18 pm

回答 (3)

2020-09-24 6:07 pm
✔ 最佳答案
If we add all the evens, their sum must even, so ignore those.
Pair off as many odds as can be paired, the sum so far is still even.
If left with one more odd the sum becomes odd; otherwise it remains even

Example: 13 + 14 + 20 + 31 + 22 + 45 + 12 + 24 + 17 + 11
Paired odds are (13 + 31) + (45 + 17)
We were left with one more odd, namely 11 so total was odd.

wanszeto expressed this first
2020-09-24 3:29 pm
The method is simply to count the number of odd numbers.
If the number of odd numbers is odd, the sum is odd.
If the number of odd numbers is even, the sum is even.

For example: 13 + 45 + 24 + 17
There are 3 odd numbers (13, 45 and 17), and thus the sum is odd.
2020-09-29 4:31 pm
Just count the number, N, say, of odd numbers in your complete number list that are odd. If N is odd, the sum is odd. If N is even, The sum is even.; 


收錄日期: 2021-04-12 12:50:55
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20200924071809AA9V5Cm

檢視 Wayback Machine 備份