Research ArticleOpen AccessGoogle Scholar indexed
Primality Test
Via Cornelia, Rome, Italy
- 1 Via Cornelia, Rome, Italy
American Journal of Computational Mathematics·Volume 03 (2013)·Pages 59–60·Published 26 March 2013·DOI10.4236/ajcm.2013.31009
Copy link · social · email
Abstract
In this paper we will give an algorithm that in the worst case solve the question about the primality of a number in but that gives better result if the number is not prime (constant operation). Firstly, we will introduce an equa tion on which are based not prime numbers. With this equation it is possible to deduce the prime number that generates a not prime number and to establish an equation in which if exists a certain integer the number is not prime and there fore vice versa to deduce if it is prime.
KeywordsPrime NumbersEquation
- S. Aaronson, “The Prime Facts: From Euclid to AKS,” Lecture Notes, 2003.
- Wikipedia. http://en.wikipedia.org/wiki/Primality_test
- Wikipedia. http://en.wikipedia.org/wiki/AKS_primality_test
- Wikipedia. http://en.wikipedia.org/wiki/L'Hopital's Rule