1, 1, 1, 3, 3, 4, 4, 6, 6, 8, 8, 10, 10, 11, 11, 13, 13, 14, 14, 16, 16, 17, 17, 19, 19, 21, 22, 24, 24, 25, 25
Offset: 1
Solutions for small n (the solutions are a long way from being unique, but see A375030):
n a(n) Solution S
1 1 1
4 3 1,2,4
6 4 1,2,6,3
8 6 1,2,4,3,6,8
10 8 1,2,4,3,9,5,10,8
12 10 1,2,4,3,6,8,5,10,12,9
14 11 1,2,4,3,6,10,5,7,14,12,9
16 13 1,2,4,3,6,8,5,10,12,9,7,14,16
As an example, let us verify that the prime-divisibility condition holds for the n=14 solution (we write Y to indicate divisibility):
S = 1,2,4,3,6,10,5,7,14,12,9
2?....Y.Y...Y..Y......Y..Y..
3?........Y.Y............Y.Y
5?.............Y.Y..........
7?.................Y..Y.....
The Y's occur in disjoint pairs, as required.
Also, a(18) = 14, from S = 1,8,16,3,6,14,7,5,15,18,4,9,12,2. (We cannot use 11, 13, and 17, and there are an odd number of multiples of 2 and of 5, so we must lose at least one more term - we can take care of this by sacrificing 10 - so 18-4 = 14 is optimal. This implies a(19) = 14 also.)
Comments