12347
-
65393
++--
[solution next - omitted for spoiler reasons]
I was more surprised about how little trial and error I needed to find primes than about how few guesses it actually took... 12347
-
65393
++--
[solution next - omitted for spoiler reasons]
I was more surprised about how little trial and error I needed to find primes than about how few guesses it actually took... 12347
-
[solved]Edit: I checked, it's 9 vs 8 primes. But nearby prefixes also have more and there's a lot of variance. Still, there are overall more primes among the same range of smaller numbers (1000-5499 has ~4400 primes, 5500-99999 has ~4000).
Note that, despite this, you probably shouldn't include 0 in the starting guess (e.g. 10247) because 0 will be in the solution less frequently (can't be the leading digit), meaning you gain less info on average.
That being said, the pool you're really working from is the numbers with last digit 1, 3, 7, or 9. One out of every 4.6 such numbers under 10^5 is prime. So just guessing until you find a prime is practical.
> On calculators, it is printed as "log", but mathematicians usually mean natural logarithm (logarithm with base e ≈ 2.71828) rather than common logarithm when they write "log".