Counting with composites Please advise

  • Context: Undergrad 
  • Thread starter Thread starter idiom
  • Start date Start date
  • Tags Tags
    Advise Counting
Click For Summary
SUMMARY

The discussion centers on the relationship between composite numbers and prime numbers, specifically the proposition that generating all composite numbers within a range can reveal all missing primes. The participants debate the feasibility of this approach, with one user claiming to have developed an algorithm capable of generating composites efficiently, even for very large numbers, while others express skepticism regarding the deterministic nature of such methods. Tools like the Sieve of Eratosthenes and BigInteger packages are mentioned as relevant for handling large computations. The conversation highlights the ongoing challenges in number theory related to prime generation and the efficiency of algorithms.

PREREQUISITES
  • Understanding of composite and prime numbers
  • Familiarity with algorithms for generating primes, such as the Sieve of Eratosthenes
  • Knowledge of computational mathematics and number theory
  • Experience with programming languages like Java or Python for algorithm implementation
NEXT STEPS
  • Research "deterministic algorithms for composite number generation"
  • Explore "BigInteger in Java for large number computations"
  • Study "primality tests and their computational complexity"
  • Learn about "Sieve of Eratosthenes optimizations for large N"
USEFUL FOR

Mathematicians, computer scientists, and developers interested in number theory, particularly those focused on prime generation and algorithm efficiency.

  • #31


Have someone working with me on the code. He is pretty busy so it may take him some time to work through his stack.
 
Physics news on Phys.org
  • #32


If it gives you some freedom, you can try learning Python. It's picked up quickly, tutorials are available (http://docs.python.org/tutorial/introduction.html), and it has "big number" support built-in, and used seamlessly without you doing anything.
 
  • #33


Thanks for the tip
 
  • #34


Interesting thread. By range, what do you mean? a specific grouping that will be of different sizes for increasingly larger numbers , or any range from say 0 to infinity?
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
22
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 25 ·
Replies
25
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K