In recreational number theory, a minimal prime is a prime number for which there is no shorter subsequence of its digits in a given base that form a prime. In base 10 there are exactly 26 minimal primes:
For example, 409 is a minimal prime because there is no prime among the shorter subsequences of the digits: 4, 0, 9, 40, 49, 09. The subsequence does not have to consist of consecutive digits, so 109 is not a minimal prime (because 19 is prime). But it does have to be in the same order; so, for example, 991 is still a minimal prime even though a subset of the digits can form the shorter prime 19 by changing the order.
Similarly, there are exactly 32 composite numbers which have no shorter composite subsequence:
There are 146 primes congruent to 1 mod 4 which have no shorter prime congruent to 1 mod 4 subsequence:
There are 113 primes congruent to 3 mod 4 which have no shorter prime congruent to 3 mod 4 subsequence: