两个质数的和为奇数,为什么必有一个为2?

  • 时间:2020-04-07 14:29:42
  • 分类:数学世界
  • 阅读:137 次

我们学过的质数大多为奇数,只有一个质数2例外。2是质数中最小的一个,而且2是唯一的偶质数。因为其它大于2的偶数,除了有1和该数本身两个因数外,至少还有一个因数2,这样的数都是合数。

我们知道一个奇数与一个偶数的和一定是奇数。如果两个质数和为奇数,必有一个是偶质数,而2是唯一的偶质数。所以两个质数的和为奇数,必有一个为2.知道这一结论对我们解数学题是有帮助的。例如:

若两个质数的和为99,求这两个质数的积。

因为99为奇数,所以两个质数必定一奇一偶,而且其中的一个质数是2,另一个质数就是99-2=97,所求的两个质数的积为97×2=194.

如果两个质数的积为偶数,或者三个质数的和为偶数,你能得出什么结论?

推荐阅读:
Using the OpenSSL command to Test the SSL Certificate  Algorithm to Shuffle String in Python3 According to Index  Depth First Search Algorithm to Find the Strobogrammatic Number   Depth First Search Algorithm to Compute the Diameter of N-Ary Tr  Remove the Temporary Files (including Windows.old) on Windows 10  Simulation Algorithm to Compute the Number of Water Bottles  Using CloudFlare Worker Serverless Technology to Deploy a Load B  Algorithms to Compute the Math Power(a, n) in logarithm Complexi  Multithreading Testing using Pythons’ Low Level _threading  Algorithm to Count the Number of Substrings With Only 1s 
评论列表
添加评论