Let a subcat of a number be defined for positive integers such that for any number of digits,
There are subcats.
The first subcat is the units digit.
The second subcat is the number formed by the tens and units digits combined, and so on.
Any number isn't its own subcat.
Thus, say, for a number , there are subcats, namely: , , and .
Now, we call an -digit number to be Prime-Worthy if all subcats of of length are nonzero and prime, regardless of whether or not itself is prime or not. It is mandatory though for subcats to exist for it to be considered Prime-Worthy.
How many Prime-Worthy primes are there less than ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Here is the code I implemented to determine the number of cases of Prime-Worthy primes under 1 0 0 0 0 . This is a rather brute-force approach, so I welcome solutions that are done manually otherwise :)