Skip to content

Improvement to prime-sieve model solution#29

Open
mn416 wants to merge 1 commit intoARCHER2-HPC:mainfrom
mn416:main
Open

Improvement to prime-sieve model solution#29
mn416 wants to merge 1 commit intoARCHER2-HPC:mainfrom
mn416:main

Conversation

@mn416
Copy link

@mn416 mn416 commented Apr 15, 2025

It is simpler and cheaper to eliminate multiples of p using a stride rather than checking every number for divisibility by p.

It is simpler and cheaper to eliminate multiples of `p` using a stride
rather than checking every number for divisibility by `p`.
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.

1 participant