搜索资源列表
zhishu
- 一个可以判断一个数是不是质数、可以分解质因数的程序。数字都用decimal储存,最大可以分解26位左右的数。采用6位列表法,即 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 除2 3之外,其他的质数都在1,5列。 程序利用这个办法加快速度。 经测试,本程序在intel core i5-2450M Cpu上运行,分解1000000007(一个质数)只需4秒左右。-One can judge
Number
- 一个可以从指定范围内,找出质数于非质数的小程序-One can start with the specified range, identify the number on the non-prime number small program
zhishu
- 这是一个求质数的C语言程序,是自己编写的,已调试可以运行的-This is a C language program and quality number, write your own debugging can run
qiuzhishu
- 一个求指定数以内的质数的函数,自己编写的,希望能帮助大家-A specified number within the prime function, the preparation of their own, hoping to help you
RSA
- 一个RSA算法的实现, 其中有大整数简单实现, 和求大质数的算法,最后综合成RSA加密解密算法。 代码有一定注释,输出详细的中间过程,对C++初学者很有用。-Simple implementation of an RSA algorithm, where there is a large integer, and demand a large prime number algorithm, finally consolidated into the RSA encryption al
04
- 找出1-100里面的质数(除1和自身外不被其它数整除的数),思路 能被2--9取值为0的都不是质数,反之则是!-Identify 1-100 inside the prime numbers (except 1 and itself outside is not the number of the remaining number divisible), ideas by 2- 9 a value of 0 is not a prime number and vice versa is!
zs
- 判断质数,在文本框1里输入一个自然数,再点一下command1按钮,在文本框里显示是不是质数-Determine the prime number
a
- 在数论,对正整数n,欧拉函数是少于或等于n的数中与n互质的数的数目。 φ函数的值 通式:φ(x)=x(1-1/p1)(1-1/p2)(1-1/p3)(1-1/p4)…..(1-1/pn) 其中p1, p2……pn为x的所有质因数,x是不为0的整数。φ(1)=1(唯一和1互质的数就是1本身)。 (注意:每种质因数只一个。比如12=2*2*3 那么φ(12)=12*(1-1/2)*(1-1/3)=4) 若n是质数p的k次幂,φ(n)=p^k-p^(k-1)=(p-1)p^(k-1),因为除了
Fibonacci
- 可以生成FIbonacci数列,初始化从一开始,产生给定个数的Fibonacci数列。求质数,起泡法,选择排序。-Fibonacci array
prime
- unix下通过创建多线程计算质数的优化算法-unix calculate prime numbers by creating a multi-threaded optimization algorithm
class
- 此程序用来判断一个数是否是质数,用数学方法来实现-failed to translate
prime-number
- 实现查询质数的功能,并能查询数目,可以在所有质数中查询 -check the prime number
zhishu
- 数学程序——质数自动排定及非质数计算出其因子-Math program- scheduled and non-prime auto-calculate its prime factors
444
- 数字迷2_----质数数字_----数字的猜想-Digital fans 2_ prime numbers _
aaaaa
- 在网上学习C#写的程序,包括99乘法表,String类的学习,字符串按指定样式输出,判断质数,判断是否为润年,数组排序等等。-In the e-learning program written in C#, including 99 multiplication table, String class learning, the string at the specified style output, determine prime numbers, to determine whether
4give-all-primes
- 由读者自行给出人一个数据,则输出这一范围内的所有质数。-To give all primes as a output if you give specified number. -To give all primes as a output if you give specified number.
PrimerNumber
- 实现1到n内的所有质数的源码,非常高效的算法,值得看一下-Achieved within 1 to n for all primes source, a very efficient algorithm, it is worth a look
MENU
- LCD实现菜单功能,本人所写,界面切换使用的是质数法,对于不喜欢用指针,或用的不熟练的筒子有莫大帮助,这也是一种实现方法-LCD with menu function, I wrote, interface switching method used is a prime number, who do not like to use the pointer, or unskilled use of great assistance to the cheese, which is a method
primes
- 找出100 到200之间的所有的质数,并且能够在form中打印!-Find all between 100-200 primes, and the ability to print in form!
cutPrim
- 输入一个数把它分解为质数之积,c++实现-Enter a number to break it down into the product of prime numbers, c++ achieve