搜索资源列表
prime
- 用概率算法实现求素数10000以内的素数的问题,并且与确定性算法比较。-With the probability algorithm for prime numbers less than 10000 prime numbers, and compared with the deterministic algorithm.
prime
- 素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束条件即可 1.与前面所有的数不重复 2.与前一个数和为素数(最后一个和第一个也要满足)。 〖算法流程〗 1、数据初始化; 2、递归填数: 判断第J种可能是否合法; A、如果合法:填数;判断是否到达目标(10个已填完): 是,打印结果;不是,递归填下一个; B、如果不合法:选择下一种可能;-Prime Centra
prime
- The program generates the first N prime numbers.
prime
- 利用数学的概念来检查任意输入数值是否为质数-The concept of the use of mathematics to check whether any numerical input prime number
prime
- 找n以内的素数的程序,算法复杂度O(n^0.5)-Find the prime numbers below n, the efficiency of the program is O(n^0.5).
Prime
- 输入一个整数数据并求大于该数据的的最小素数-Enter an integer data and the data request is greater than the smallest prime number
prime
- Prime algorithm in visual C-Prime algorithm in visual C++
Prime-Obsession
- 德比希尔的力作《素数之恋》指引你领略这个世界上最著名的未解数学问题的200年历史。黎曼假设的公式化表述,对它的研究以及它的意义,每一项都代表着数学思想中的广阔领域,而这本书巧妙地把所有这些都包容在内。满是趣闻逸事的篇章与引领初学者循序渐近地探索基本概念的篇章交替出现——既吸引住了读者,又给他们留下了持久的印象。-Derbyshire' s masterpiece " The Love of prime numbers" to guide you a taste of th
Calculate-prime-number-less-than-100
- 计算100以内的质数 计算100以内的质数 -Calculate prime number less than 100
prime
- 这个程序给出4到100000000中所有的偶数都是可以由两个质数的和。-This program will solute a problem every even number can be a sum of two prime numbers.
HNU-12043-Prime-NumberAgain
- HNU 12043 的源代码。 核心代码为快速筛选素数-HNU 12043 source code. Rapid screening of the core code for the prime number
Prime
- This a Program that computes nth Prime number-This is a Program that computes nth Prime number
Prime-number-generation
- 使用分段筛法,产生一定数值以内的所有素数。-use Segmented sieve method to Generate all prime numbers within a certain range of values
4-prime-generation
- 利用费马特素性检验实现40000以内的所有素数的生成并通过文件输出-Fei Mate primality test 40000 or less of all prime numbers generated by the file output
prime-no
- print and find prime numbers
is-it-prime
- 判断一个数是否是素数的小程序,经过编译即可使用-Determine if a number is prime number of small programs compiled can be used
How-many-prime-numbers
- 已知许多整数,求素数个数。先输入N(整数个数),再输入N个整数。每个都不超过32位整型,不小于2.-Give you a lot of positive integers, just to find out how many prime numbers there are.In each case, there is an integer N representing the number of integers to find. Each integer won’t exceed 32-bit
Quick-Prime
- Quick Prime number finding. for 32 unsigned integers. Helpful for Bucket initialization with ATL classes like maps.-Quick Prime number finding. for 32 unsigned integers. Helpful for Bucket initialization with ATL classes like maps.
Screening-find-prime-numbers
- 除了自身之外,无法被其它整数整除的数称之为质数,要求质数很简单,但如何快速的 求出质数则一直是程式设计人员与数学家努力的课题,在这边介绍一个着名的Eratosthenes求质 数方法。-In addition to outside itself, can not be called an integer divisible by the number of other primes, prime requirement is very simple, but how fast Fi
prime-factors
- 实现强大的数学功能,在屏幕上显示所有的陈景润数-prime factors of the number of prints