Skip to main content
Log in

Prime number generation using memetic programming

  • Original Article
  • Published:
Artificial Life and Robotics Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Koza JR (1992) Genetic programming: on the programming of computers by means of natural selection. MIT Press, Cambridge

    MATH  Google Scholar 

  2. 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

  3. 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

    Google Scholar 

  4. 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

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Masao Fukushima.

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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10015-011-0890-3

Key words

Navigation