Maximum number of elements

Let M M be a subset of { 1 , 2 , 3 , . . . , 15 } \{1,2,3,...,15\} such that the product of any three distinct elements of M M is not a square.Determine the maximum number of elements in M M .


The answer is 10.

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.

2 solutions

Ravi Dwivedi
Jul 16, 2015

Note that the product of the three elements in each of the sets { 1 , 4 , 9 } , { 2 , 6 , 12 } , { 3 , 5 , 15 } \{1,4,9\},\{2,6,12\},\{3,5,15\} and { 7 , 8 , 14 } \{7,8,14\} is a square.Hence none of these sets is a subset of M M . Because they are disjoint, it follows that M M has at most 15 4 = 11 15 - 4 = 11 elements. Since 10 is not an element of these sets, if 10 M 10\notin M ,then M M have atmost 10 10 elements.

Suppose 10 M 10 \in M .Then none of { 2 , 5 } , { 6 , 15 } , { 1 , 4 , 9 } \{2, 5\}, \{6, 15\}, \{1, 4, 9\} , and { 7 , 8 , 14 } \{7, 8, 14\} is a subset of M M . If { 3 , 12 } M \{3, 12\} \subset M , it follows again that M M has at most 10 10 elements.

If { 3 , 12 } M \{3, 12\} \subset M , then none of { 1 } , { 4 } , { 9 } , { 2 , 6 } , { 5 , 15 } \{1\},\{4\},\{9\},\{2, 6\}, \{5, 15\} , and { 7 , 8 , 14 } \{7, 8, 14\} is a subset of M M , and then M M has at most 9 9 elements. We conclude that M M has at most 10 10 elements in any case. Finally, it is easy to verify that the subset M = { 1 , 4 , 5 , 6 , 7 , 10 , 11 , 12 , 13 , 14 } M = \{1, 4, 5, 6, 7, 10, 11, 12, 13, 14\} has the desired property. Hence the maximum number of elements in M M is 10 10 .

Moderator note:

Can this problem be generalized? This argument seems unique to 15, and it's not immediately clear what the answer for 16 would be.

Interesting problem. How did you come up with it?

Is this the only set?? I got one 3 , 4 , 5 , 6 , 7 , 9 , 10 , 11 , 13 , 14 {3,4,5,6,7,9,10,11,13,14}

Spandan Senapati - 4 years, 2 months ago
Bill Bell
Jul 21, 2015

Although I did try to write reasonably careful code, I was shocked when this ran in the blink of an eye.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...