Abstract
For centuries, the study of prime numbers has been regarded as a subject of pure mathematics in number theory. Recently, this vision has changed and the importance of prime numbers has increased rapidly, especially in information technology, e.g., public key cryptography algorithms, hash tables, and pseudo-random number generators. One of the most popular topics to attract attention is to find a formula that maps the set of natural numbers into the set of prime numbers. However, to date there is no known formula that produces all primes. In this article, we use a hybrid evolutionary algorithm, called the memetic programming (MP) algorithm, to generate mathematical formulas that produce distinct primes. Using the MP algorithm, we succeeded in discovering an interesting set of formulas that produce sets of distinct primes.
Similar content being viewed by others
References
Koza JR (1992) Genetic programming: on the programming of computers by means of natural selection. MIT Press, Cambridge
Mabrouk E, Hedar A, Fukushima M (2008) Memetic programming with adaptive local search using tree data structures. In: Chbeir R et al (eds) Proceedings of the 5th International Conference on Soft Computing as Transdisciplinary Science and Technology (CSTST08), Cergy-Pontoise, Paris, France, October 27–31, 2008, pp 258–264
Mabrouk E, Hedar A, Fukushima M (2010) Memetic programming algorithm with automatically defined functions. Technical Report 2010-015, Department of Applied Mathematics and Physics, Kyoto University, Japan
Walker JA, Miller JF (2007) Predicting prime numbers using Cartesian genetic programming. In: Ebner M et al (eds) Proceedings of the 10th European Conference on Genetic Programming (EuroGP), Valencia, Spain, April 11–13, 2007, pp 205–216
Author information
Authors and Affiliations
Corresponding author
Additional information
This work was presented in part at the 16th International Symposium on Artificial Life and Robotics, Oita, Japan, January 27–29, 2011
About this article
Cite this article
Mabrouk, E., Hernández-Castro, J.C. & Fukushima, M. Prime number generation using memetic programming. Artif Life Robotics 16, 53–56 (2011). https://doi.org/10.1007/s10015-011-0890-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10015-011-0890-3