|
EXAMPLE
|
a(1) is undefined because we cannot have a difference between two elements of a set of 1 element.
a(2) = 0 because the only subset of size =>2 of (1,2) is (1,2), and 2-1 = 1 is 1 less thasn the prime 2.
a(3) = 0 because the only subset of size =>2 of (1,2,3) are (1,2), and 2-1 = 1 is 1 less thasn the prime 2; (1,3), and 3-1 = 2 is 1 less thasn the prime 3; and (2,3) and and 3-2 = 1 is 1 less thasn the prime 2.
a(4) = 2 because (1,4) is the unique subset of (1,2,3,4) with the desired property that 4-1 = 3 is not 1 less than a prime.
a(9) = 3 because (1,4,9) is the unique subset of (1,2,3,4,5,6,7,8,9) with the desired property that 4-1 = 3 is not 1 less than a prime, and 9-1 = 8 is not 1 less than a prime, and 9-4 = 5 is not 1 less than a prime.
For n=9, 10 and 11, the cardinality is limited to 3 (the subset {1,4,9}). For
12 <= n <= 17, the cardinality is limited to 4 (the subset {1,4,9,12}).
|