搜索资源列表
计算1000以内的素数
- 这是一个可以计算1000以内的素数算法 觉得还不错-This a 1000 can be calculated within the prime number algorithm also feel good
blackeye_elgamalkeygenerator10beta3
- 大素数生成器,根据用户的设置自动生成一个符合要求的大素数,计算速度较快。-large prime number generator, according to the automatic generation to meet the requirements of a large prime numbers, the fast calculation.
TwinsPrime
- 这是高效的判定一个数是否为素数的算法,并且能够判断一个素数是否为孪素数-determine whether a number is prime algorithms, and to determine whether a prime number of twin primes
java_example
- 实例(java) 1. 编写一个程序,列出1 到1000 以内的,求59 的余后为1 质数。 2. 试编写程序解下面的问题。猴子吃桃问题:猴子第一天摘下若干个桃子,当即吃了 一半,还不瘾,又多吃了一个 第二天早上又将剩下的桃子吃掉一半,又多吃了一个。 以后每天早上都吃了前一天剩下的一半零一个。到第10 天早上想再吃时,见只剩 下一个桃子了。求第一天共摘了多少。 3. 编写一个程序求1+2!+3!+...+20!的和。 4. 试编写程序求解下面的问题:海滩上有一堆桃子,
work2_8
- 判断是否为素数,是PB开发的一个简单应用程序。程序中采用了较为简单的界面-determine whether a prime number, the PB is a simple application. Procedures for the use of a relatively simple interface
simpleMathFunctions
- some simple but time wasting math logic 一些不难但麻烦(适合用电脑作)的数学函数的源码 1.Test for Prime numbers 2.Find the factorial of a number 3.Find the triangle(total sum) of a number 4.Reverse every integer of a number 5.Find any power of any value 6.Fin
pprime
- 因为151即是一个质数又是一个回文数(从左到右和从右到左是看一样的),所以 151 号是回文质数。 写一个程序来找出范围[a,b](5 <= a < b <= 100,000,000)间的所有回文质数 -The number 151 is a prime palindrome because it is both a prime number and a palindrome (it is the same number when read forward as backw
Rei07
- 求質數法 判斷n是否為質數 時,將n除以n以下的整數直至2為止,以觀察n能 除盡,這時如有被除盡的數,便被視為非質數而脫離出回圈。到了最後如無除盡的數,則此數即為質數。-Seeking qualitative method to determine whether the prime number n to determine whether the prime number n will be n divided by n integers until 2 the followi
zshz
- 判断输入的数字是否质数,再判断这两个数是否互质-Input to determine whether the number of prime number, and then determine whether or not these two the number of coprime
TestPrima
- prime number, example code.
primenumbers
- MPLAB IDE program for identifying the prime number
sushu
- 输入一个数 然后可以得到比这个数小的所有素数 InTEL汇编程序设计书后的一道题目 天津大学实验 -Enter a number and then can get smaller than this number of all prime numbers InTEL assembly programming book for a test subject of Tianjin University
asil_egemen_findPrimesParallel.c
- MPI Efficient Finding Prime
GRAPHCLK
- Prime Number program
wcp
- 文件中:wcp.exe是我们针对编译实验的文法的一个编译器(不含源码);pi.txt和prime_number.txt是按照实验文法写的测试程序(前者是求pi值,后者是求质数) 注:wcp将编译和执行放在了一起,而且对原实验文法做了以下扩展 1.标识符采用c语言标准的标识符 2.增加了print语句来打印结果(statement:print VarList ) 执行方法:在cmd下进入wcp所在目录,如 E:\My Learns\编译原理 然后执行如下 E
Prime
- JAVA多线程找质数。 输入为你想要创建的线程数和质数上限。 例: java PrimeSieve 10 3会利用三个线程输出10以下所有的质数-JAVA multi-threading to find prime numbers. Enter the number of threads you want to create the maximum number and quality. Example: java PrimeSieve 10 3 will make use of
Prime-number-program-in-c-language
- this program is to check the number is prime or not
c-program-for-generate-first-n-prime-number
- prime number program
prime-number-in-1~100
- 求1~100中间的素数代码, -Find a prime number to 100 in the middle of the code, find a prime number to 100 in the middle of the code,
Prime-number
- Delphi:编写Delphi判断素数的程序,程序窗体如上图所不,输入任意一组数字,点击右下角的“判断”按钮,程序立即给出结果,是不是素数,一眼便知。当然,本程序只是一个向Delphi初学者演示Delphi算法的小例子,并无实际意义,单纯的判断素数意义不大。 -Delphi: Delphi written judgment prime numbers, the program form shown above do not enter any set of numbers, click on