题目大意:a和d是两个互质的数,则序列a,a+d,a+2d,a+3d,a+4d ...... a+nd 中有无穷多个素数,给出a和d,找出序列中的第n个素数 ...
分类:
其他好文 时间:
2016-07-31 12:58:06
阅读次数:
125
Pseudoprime numbers Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8682 Accepted: 3645 Description Fermat's theorem states that for any pr ...
分类:
其他好文 时间:
2016-07-23 18:11:18
阅读次数:
137
Description Fermat's theorem states that for any prime number p and for any integer a > 1, ap = a (mod p). That is, if we raise a to the pth power and ...
分类:
其他好文 时间:
2016-07-23 16:39:38
阅读次数:
287
Binomial Theorem What happens when you multiply a binomial by itself ... many times? Here is the answer: Don't worry ... I will explain it all! And yo ...
分类:
其他好文 时间:
2016-06-06 21:59:38
阅读次数:
269
题意:给定三角形的三个点,让你求它每个角的三等分线所交的顶点。 析:根据自己的以前的数学知识,应该很容易想到思想,比如D点,就是应该求直线BD和CD的交点, 以前还得自己算,现在计算机帮你算,更方便,主要注意的是旋转是顺时针还是逆时针,不要搞错了。 要求BD和CD就得先求那个夹角ABC和ACD,然后 ...
分类:
其他好文 时间:
2016-05-31 20:54:39
阅读次数:
160
Perfect Cubes Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 15302 Accepted: 7936 Description For hundreds of years Fermat's Last Theorem, ...
分类:
其他好文 时间:
2016-05-29 12:15:54
阅读次数:
120
Chinese remainder theorem again Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2415 Accepted Sub ...
分类:
其他好文 时间:
2016-05-27 10:59:00
阅读次数:
178
描述 https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=23&page=show_problem&problem=2119 Morley定理:作三角形ABC每个内角的三等分线,相交形成三角形D ...
分类:
其他好文 时间:
2016-05-24 13:33:37
阅读次数:
129
主定理一般形式是T(n) = a T(n / b) + f(n), a >= 1, b > 1。递归项可以理解为一个高度为 logbn 的 a 叉树, 这样 total operation就是 (a ^ logbn) - 1, 右边的f(n)假设为 nc 那么我们对比一下这两项就会发现 T(n)的复 ...
分类:
其他好文 时间:
2016-05-11 01:16:26
阅读次数:
203
John Wallis (1655) took what can now be expressed asand without using the binomial theorem or integration (not invented yet) painstakingly came up with a formula for to be .William Brouncker (ca. 166...
分类:
其他好文 时间:
2016-04-22 19:50:07
阅读次数:
125