When researching and looking for the perfect numbers, man found the conclusion about correspondence between the even perfect numbers and the Mersenne primes.
人类在研究与寻找完全数时得到结论:偶完全数与梅森素数是一一对应关系。
I need at least two tests: one to see if the perfect Numbers report correctly and another to check that I don't get false positives. The unit tests are in Listing 2.
我至少需要两个测试:一个测试用于查看是否正确报告了完全数,另一个测试用于检查我没有得到误判断(falsepositives)。
In the next installment, I'll continue with the perfect Numbers problem, illustrating more examples of the kinds of design that can emerge if you get out of the way of your tests.
在下一期文章中,我将继续讨论完全数问题,演示在执行测试时形成的各种设计的更多示例。
This code correctly reports perfect Numbers, but it runs very slowly for the negative test because I'm checking so many Numbers.
这段代码正确地报告了完全数,但是由于反向测试的原因,代码运行得非常慢,因为我需要检查大量数字。
Thus far, I've discussed emergent design in the context of the perfect-numbers problem.
到目前为止,我以处理完全数为背景讨论了紧急设计。
After checking with Wikipedia to find the first few perfect Numbers, I can write a test that verifies that I can in fact find perfect Numbers.
在Wikipedia上查找到前几个完全数之后,我可以编写一个测试,它检查实际上是否可以找到完全数。
For those of you not up on your math trivia, the concept goes back to before Euclid (who did one of the early proofs deriving perfect Numbers).
对于不熟悉数学知识的人,此概念可追溯到Euclid之前(他完成了导出完全数的早期验证之一)。
POV-Ray is one of the grandfather's of realistic 3d graphics creation software, full of those massive numbers-crunching tasks and perfect for our test.
POV - Ray是逼真3d图形创建软件的始祖之一,它完全由那些进行大量数字处理的任务构成,非常适合我们的测试。
Listing 3 asserts that the only Numbers from 1 to 100,000 that are perfect are the ones in the list of known perfect Numbers.
清单3断定1到100000之间的完全数为已知完全数列表中的数字。
The first two lines of output should be 6 and 28. Your program should find two other perfect Numbers in that range as well.
前两行输出时6和28。你的程序应该能够在上面的范围内找出另外的两个完美数字。
Company's products with excellent performance, perfect after-sales service system, by the vast Numbers of users.
公司产品凭借优良的性能、完善的售后服务体系,深受广大用户的好评。
In this paper, we find out a kind of method of verifying whether an integer is quasi-amicable or not, and prove the Fermat numbers are never perfect or part of an quasi-amicable pair.
为了判断整数是否为拟亲和数,文章在讨论费玛数和数论函数性质的基础上,找到了一种验证一个整数是否是拟亲和数的方法,从而证明了费玛数不与其他正整数构成拟亲和数对的结论。
Product quality by the vast numbers of users and has a perfect after-sale service system.
产品质量深受广大用户的好评,并有着完善的售后服务体系。
I know how this sounds, but I've mapped these Numbers to the dates of every major global disaster from the last 50 years in perfect sequence.
我随着这些数字追寻溯迹,发现每一个数字都与这50年间世界产生的灾难时间正确吻合。
I know how this sounds, but Ive mapped these Numbers to the dates of every major global disaster from the last 50 years in perfect sequence.
我跟着这些数字追随溯迹,发现每个数字都与这50年间世界发生的灾害工夫精确吻合。
I know how this sounds, but I % 27ve mapped these Numbers to the dates of every major global disaster from the last 50 years in perfect sequence.
我跟着这些数字追寻溯迹,发现每个数字都与这50年间世界发生的灾难时间精确吻合。
I know how this sounds, but I've mapped these Numbers to the dates of every major global disaster from the last 50 years in perfect sequence. Earthquakes, fires, tsunamis...
我跟着这些数字追寻溯迹,发现每个数字都与这50年间世界发生的灾难时间精确吻合。
I know how this sounds, but I've mapped these Numbers to the dates of every major global disaster from the last 50 years in perfect sequence. Earthquakes, fires, tsunamis...
我跟着这些数字追寻溯迹,发现每个数字都与这50年间世界发生的灾难时间精确吻合。
应用推荐