Languages C / C++ Math  

A Prime Number Generator

download download  
important code information
author:
Gonzales Cenelia
minimum requirements:
A Prime Number Generator description

Threw history,prime numbers has always be a great fascination for mathematicians. Even in modern times,primes numbers continues to fascinate many people.Probably the main reason why prime numbers continues to create such great interest would be because of the difficulty to prove that any given arbitrary number is prime. This is call the primality test. Most of the test for primality are probalistic rather than deterministic,because probalistic test are much more quicker than the deterministic ones. When testing the primality of a given number,one of the theorem that is very largely used is Fermat's little theorem: if "p" is a prime number that is not a factor of a given integer "a",then pow(a, p - 1) = 1 (mod p) or pow(a, p - 1) % p = 1 One of the main application of prime numbers nowadays is chryptography,the RSA algorithm for encrypting and decrypting messages is based on prime numbers.


File List:
@PSC_ReadMe_9077_3.txt1Kb
Prime Numbers/0b
Prime Numbers/Debug/0b
Prime Numbers/Prime Numbers.cpp3Kb
Prime Numbers/Prime Numbers.dsp4Kb
Prime Numbers/Prime Numbers.dsw1Kb
Prime Numbers/Prime Numbers.ncb41Kb
Prime Numbers/Prime Numbers.opt58Kb
Prime Numbers/Prime Numbers.plg1Kb

Similar code
A Quadratic Equation Solver (Popularity: ) : This is a quadratic equation solver,this program can be use to solve second-order polynomial equation with one variable "x"
A calculator (english/polish) (Popularity: ) : A calculator (english/polish) - The purpose of my code is to calculate numbers
A Simple Shell Calculator (Popularity: ) : Evaluates a numeric expression with Functions and Constants from shell interface.
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 275
version
size in Kb 13
popularity   2269/7913373
user rating 4/10
ad


New Code
Popular Code