Skip to content

Implement Sieve of Eratosthenes - #118

Open
Ayush-Iyer1611 wants to merge 1 commit into
minhaj-313:mainfrom
Ayush-Iyer1611:feature/sieve-of-eratosthenes
Open

Implement Sieve of Eratosthenes#118
Ayush-Iyer1611 wants to merge 1 commit into
minhaj-313:mainfrom
Ayush-Iyer1611:feature/sieve-of-eratosthenes

Conversation

@Ayush-Iyer1611

Copy link
Copy Markdown

Description

Implemented the Sieve of Eratosthenes algorithm to generate all prime numbers up to a given number.

Changes

  • Added sieve_of_eratosthenes.py
  • Handles values below 2
  • Generates prime numbers using the Sieve of Eratosthenes

Closes #100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement the Sieve of Eratosthenes algorithm to generate all prime numbers up to a given number.

1 participant