A new explicit algorithmic method for generating the prime numbers in order

This paper presents a new method for generating all prime numbers up to a particular number m∈N,m⩾9, by using the set theory. The proposed method is explicit and works oriented in finding the prime numbers in order. Also, we give an efficiently computable explicit formula which exactly determines th...

Full description

Bibliographic Details
Main Authors: Abd Elhakeem Abd Elnaby, A.H. El-Baz
Format: Article
Language:English
Published: Elsevier 2021-03-01
Series:Egyptian Informatics Journal
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S1110866520301213
id doaj-d0d3651029e04e8db6318f693919e018
record_format Article
spelling doaj-d0d3651029e04e8db6318f693919e0182021-07-02T16:43:09ZengElsevierEgyptian Informatics Journal1110-86652021-03-01221101104A new explicit algorithmic method for generating the prime numbers in orderAbd Elhakeem Abd Elnaby0A.H. El-Baz1Department of Mathematics, Faculty of Science, Damietta University, New Damietta, EgyptDepartment of Computer Science, Faculty of Computers and Information, Damietta University, New Damietta, EgyptThis paper presents a new method for generating all prime numbers up to a particular number m∈N,m⩾9, by using the set theory. The proposed method is explicit and works oriented in finding the prime numbers in order. Also, we give an efficiently computable explicit formula which exactly determines the number of primes up to a particular number m∈N,m⩾9. For the best of our knowledge, this is the first exact formula given in literature. For the sake of comparison, a unified framework is done not only for obtaining explicit formulas for the well-known sieves of Eratosthenes and Sundaram but also for obtaining exact closed form expression for the number of generated primes using these two sieve methods up to a particular number m∈N,m⩾9. In addition, the execution times are calculated for the three methods and indicate that our proposed method gives a superior performance in generating the primes.http://www.sciencedirect.com/science/article/pii/S1110866520301213Prime numbersCryptographyAlgorithms
collection DOAJ
language English
format Article
sources DOAJ
author Abd Elhakeem Abd Elnaby
A.H. El-Baz
spellingShingle Abd Elhakeem Abd Elnaby
A.H. El-Baz
A new explicit algorithmic method for generating the prime numbers in order
Egyptian Informatics Journal
Prime numbers
Cryptography
Algorithms
author_facet Abd Elhakeem Abd Elnaby
A.H. El-Baz
author_sort Abd Elhakeem Abd Elnaby
title A new explicit algorithmic method for generating the prime numbers in order
title_short A new explicit algorithmic method for generating the prime numbers in order
title_full A new explicit algorithmic method for generating the prime numbers in order
title_fullStr A new explicit algorithmic method for generating the prime numbers in order
title_full_unstemmed A new explicit algorithmic method for generating the prime numbers in order
title_sort new explicit algorithmic method for generating the prime numbers in order
publisher Elsevier
series Egyptian Informatics Journal
issn 1110-8665
publishDate 2021-03-01
description This paper presents a new method for generating all prime numbers up to a particular number m∈N,m⩾9, by using the set theory. The proposed method is explicit and works oriented in finding the prime numbers in order. Also, we give an efficiently computable explicit formula which exactly determines the number of primes up to a particular number m∈N,m⩾9. For the best of our knowledge, this is the first exact formula given in literature. For the sake of comparison, a unified framework is done not only for obtaining explicit formulas for the well-known sieves of Eratosthenes and Sundaram but also for obtaining exact closed form expression for the number of generated primes using these two sieve methods up to a particular number m∈N,m⩾9. In addition, the execution times are calculated for the three methods and indicate that our proposed method gives a superior performance in generating the primes.
topic Prime numbers
Cryptography
Algorithms
url http://www.sciencedirect.com/science/article/pii/S1110866520301213
work_keys_str_mv AT abdelhakeemabdelnaby anewexplicitalgorithmicmethodforgeneratingtheprimenumbersinorder
AT ahelbaz anewexplicitalgorithmicmethodforgeneratingtheprimenumbersinorder
AT abdelhakeemabdelnaby newexplicitalgorithmicmethodforgeneratingtheprimenumbersinorder
AT ahelbaz newexplicitalgorithmicmethodforgeneratingtheprimenumbersinorder
_version_ 1721326401842315264