两个关于质数的问题
- 时间:2020-05-23 15:41:47
- 分类:数学世界
- 阅读:143 次
两个关于质数的问题:①有两个质数,它们的和是小于100的奇数,并且是17的倍数。这两个质数分别是( )和()。(注:我只是想要解题方法,答案是2和83,怎样解出来的?)
数学题解答:本题先用列举法,先列出100以内17的所有的奇数倍数:17,51,85。有三个符合条件,再分别减2,如果差是质数即符合条件,我们就找到了这两个质数。
17的倍数中符合条件的是85,所以这两个质数分别是2和83。这里还用了筛选法,逐步缩小范围。
②已知a、b、c都是质数,且a=b+c,那么a×b×c的最小值是( )。
数学题解答:质数中除了2是偶数,其余的均为奇数。又因为a=b+c,所以b和c之中必有一个为2,我们不妨假定b为2,那么c最小是3,此时a=2+3=5,所以a×b×c的最小值是5×2×3=30。
推荐阅读:How to Construct Minimum Spanning Tree using Kruskal or Breadth Two Pointer and Sliding Window Algorithm to Find K-Length Substr How to Get the Maximum Level Sum of a Binary Tree using Breadth Compute the Minimum Costs to Connect the Sticks using Priority Q Single-Row Keyboard Algorithms to Estimate the Finger Moving Tim Bruteforce Algorithm to Find the Next Closet Time Reusing the Cu The Overlapping Rectangles using CSS and Javascript How to Count the Distinct Pairs using HashMap? Blogger Jailed For Pokemon Go Gets Even More Trouble Dead Simple Ways to Keep Your Best Blogging Ideas From Slipping
- 评论列表
-
- 添加评论