Efficiency of Sieve vs. Derivative Method for Primality Testing

  • Context: MHB 
  • Thread starter Thread starter Hugo1177
  • Start date Start date
  • Tags Tags
    Formula Test
Click For Summary

Discussion Overview

The discussion revolves around the efficiency of two methods for primality testing: the Sieve of Eratosthenes and a derivative-based approach. Participants explore the computational aspects and practicality of each method, considering their applicability to large numbers.

Discussion Character

  • Debate/contested, Exploratory, Technical explanation

Main Points Raised

  • Some participants propose using the modulo operation as a means to determine if a number is prime, referencing a specific publication.
  • Others, like Dan, argue that the Sieve of Eratosthenes is simpler and less time-consuming compared to the derivative method, suggesting a relationship between the two methods.
  • One participant questions the efficiency of the sieve for large numbers, expressing uncertainty about whether it is indeed better than the derivative method, which involves taking multiple derivatives and performing divisions.
  • Dan expresses doubt about the derivative method's efficiency, speculating that it may be more time-consuming than the sieve, while acknowledging his lack of expertise in computational time.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the efficiency of the two methods. There are competing views regarding the practicality and computational time associated with the Sieve of Eratosthenes versus the derivative method.

Contextual Notes

Participants express uncertainty about the efficiency of both methods, particularly in relation to large numbers. There are unresolved assumptions about the computational complexity of each approach.

Hugo1177
Messages
2
Reaction score
0
We can determinate if one number is prime with the modulo operation.
https://www.researchgate.net/publication/346647223_Primality_Test_Formula
 
Mathematics news on Phys.org
Hugo1177 said:
We can determinate if one number is prime with the modulo operation.
https://www.researchgate.net/publication/346647223_Primality_Test_Formula
Interesting. However I find the usual sieve of Erastothenes to be simpler and less time consuming. (I believe that the two methods are related to each other anyway.)

-Dan
 
I am not an expert in computational time, are you sure that the sieve is better for big numbers? I hear that there aren´t a efficient form to determinate if a number is prime or not in polynomial time. Here you only have to do the 30th or 40th derivative and divide one number relatively big by other
 
Hugo1177 said:
I am not an expert in computational time, are you sure that the sieve is better for big numbers? I hear that there aren´t a efficient form to determinate if a number is prime or not in polynomial time. Here you only have to do the 30th or 40th derivative and divide one number relatively big by other
I'm not an expert either. I'm simply guessing that taking derivatives is more time consuming than doing the sieve. I admit I may be wrong.

-Dan
 

Similar threads

  • · Replies 96 ·
4
Replies
96
Views
12K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K