Live data from Hacker News

Primel – guess a 5 digit prime number – each guess must be a prime

converged.yt

81–90 of 139 posts

Re: Primel – guess a 5 digit prime number – each guess must be a prime

#84
This reminds me of something about flash games in the 2000s. I was in high school at the time and every morning in class I would check onemorelevel, kongregate, etc for new games. There was a pattern in flash games where someone would make a great simple game with an interesting, novel, or long-forgotten mechanic. It would get to the frontpage of all these sites, and a few months later you'd see that mechanic mixed with every other popular flash game mechanic. It was really cool to see a community of creative people embrace an idea and then beat it to death in a short period of time. I think in a lot of other creative genres, this kind of "copying your idea but a twist" is seen as poor form, plagiarism, or derivative. Maybe the flash game community was low enough stakes that it welcomed that kind of community engagement. I wonder what the people actually making the games thought.

Anyway, this is a really cool example of that. It's wordle, but with a twist.

Re: Primel – guess a 5 digit prime number – each guess must be a prime

#85

My side-project this week has been searching for an optimal Wordle strategy. I figured it would make a great blog post but I haven't got that far yet. Step 1 is to find an optimal starting word. My most insightful finding so far has came from trying to define a cost function for comparing potential starting words. It turns out that "% of potential guesses [not] eliminated" is an excellent loss function. Importantly,…

Since you've been looking into it, how are words with multiple of the same letters treated on Wordle. If there are two (or three) 'E' in the solution or the guess?

Re: Primel – guess a 5 digit prime number – each guess must be a prime

#86

So are people just really good with numbers? I don't know any 5 digit primes nor do I know a way to calculate them on the fly.

Its a weird thing where in smaller scales, primes numbers that LOOK prime are decent candidates of actually being prime.

All one- and two-digit numbers that look prime are prime, except 91.

This assumes that you can easily identify - multiples of 2 and 5 (by their last digit) - multiples of 3 (the sum of their digits is divisible by 3) - multiples of 11 (for two-digit ones, they have both digits the same: 11, 22, 33, ..., 99) - squares

So the first number that looks prime but isn't is the product of the two smallest primes that aren't "easy", which is 7*13 = 91.

Re: Primel – guess a 5 digit prime number – each guess must be a prime

#88

My side-project this week has been searching for an optimal Wordle strategy. I figured it would make a great blog post but I haven't got that far yet. Step 1 is to find an optimal starting word. My most insightful finding so far has came from trying to define a cost function for comparing potential starting words. It turns out that "% of potential guesses [not] eliminated" is an excellent loss function. Importantly,…

I've given some light thought to this: There are several which are considered "good starting words", that mainly contain lots of vowels or most common used letters (such as "audio", Raise, etc). Then, as a second word, you could use another word that complements those letters (audio/rents, raise/mould ).

But there is a better strategy (similar to what is used in those interview puzzles of "From N weights, find 1 that is different in X measurements of a scale): The fact that you input some vowels and see that they are not in there, tells you that the remaining ones MUST be in the word (treating Y as a vowel as well). So it might be possible to come up with a strategy that uses that negative information as well to minimize the search space.

Re: Primel – guess a 5 digit prime number – each guess must be a prime

#90

So are people just really good with numbers? I don't know any 5 digit primes nor do I know a way to calculate them on the fly.

If you are on Unix:

    primes 10000 99999 | less
Then recall that "less" includes a regex-based search on the / key.

This doesn't give you direction as to the best to try, of course, but it's hard to beat it in terms of bang for the buck if you're just going to try a few.

Post reply on HN