A Sieve for Prime Based on Extension Form of Not Prime

Martino, Gabriele (2013) A Sieve for Prime Based on Extension Form of Not Prime. American Journal of Computational Mathematics, 03 (01). pp. 86-89. ISSN 2161-1203

[thumbnail of AJCM_2013032916030692.pdf] Text
AJCM_2013032916030692.pdf - Published Version

Download (81kB)

Abstract

This paper will illustrate two versions of an algorithm for finding prime number up to N, which give the first version complexity

(1)

where c1, c2 are constants, and N is the input dimension, and gives a better result for the second version. The method is based on an equation that expresses the behavior of not prime numbers. With this equation it is possible to construct a fast iteration to verify if the not prime number is generated by a prime and with which parameters. The second method differs because it does not pass other times over a number that has been previously evaluated as not prime. This is possible for a recurrence of not prime number that is (mod 3) = 0. The complexity in this case is better than the first. The comparison is made most with Mathematics than by computer calculation as the number N should be very big to appreciate the difference between the two versions. Anyway the second version results better. The algorithms have been developed in an object oriented language.

Item Type: Article
Subjects: STM Open Library > Mathematical Science
Depositing User: Unnamed user with email support@stmopenlibrary.com
Date Deposited: 19 Jun 2023 05:09
Last Modified: 06 Mar 2024 04:38
URI: http://ebooks.netkumar1.in/id/eprint/1736

Actions (login required)

View Item
View Item