Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Semiprime Numbers and Sphenic Numbers holes #1154

Open
inverseLorentz opened this issue May 7, 2024 · 3 comments
Open

Add Semiprime Numbers and Sphenic Numbers holes #1154

inverseLorentz opened this issue May 7, 2024 · 3 comments
Labels
hole-idea An idea for a new hole. idea

Comments

@inverseLorentz
Copy link
Contributor

Description
Print all the semiprime (or sphenic) numbers from 1 to 10,000 inclusive, each on their own line.

Rationale
Semiprime Numbers and Sphenic Numbers holes are mentioned in the TODO section at the top of config/holes.toml, but have not been implemented yet.

@inverseLorentz inverseLorentz added hole-idea An idea for a new hole. idea labels May 7, 2024
@hallvabo
Copy link

hallvabo commented May 7, 2024

First 100 Sphenic numbers was done here: http://golf.shinh.org/p.rb?Sphenic+Numbers

@mousetail
Copy link
Contributor

These might be good candidates for the order agnostic judge. Would give more options for how to combine the primes

@inverseLorentz
Copy link
Contributor Author

I think outputting them in order would pose more of an interesting challenge for golfing; it would also fit with the pattern of the Prime Numbers hole.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hole-idea An idea for a new hole. idea
Projects
None yet
Development

No branches or pull requests

3 participants