Find the Good Number

Level 2

M M is the set of squares of the first 20 20 natural numbers:

M = 1 2 , 2 2 , 3 2 , 4 2 , , 2 0 2 M={1^2,2^2,3^2,4^2,\dots ,20^2} .

We say that n n is a good number, if in any subset of M M of size n n there are two elements, a a and b b , such that a + b a+b is a prime number. Find the smallest good number.


The answer is 11.

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

Caleb Stanford
Feb 12, 2014

We organize the numbers into 10 pairs as follows: 1 2 + 2 0 2 = 401 2 2 + 3 2 = 13 4 2 + 1 5 2 = 241 5 2 + 1 6 2 = 281 6 2 + 1 9 2 = 397 7 2 + 8 2 = 113 9 2 + 1 0 2 = 181 1 1 2 + 1 4 2 = 317 1 2 2 + 1 3 2 = 313 1 7 2 + 1 8 2 = 613 \begin{aligned} 1^2 + 20^2 &= 401 \\ 2^2 + 3^2 &= 13 \\ 4^2 + 15^2 &= 241 \\ 5^2 + 16^2 &= 281 \\ 6^2 + 19^2 &= 397 \\ 7^2 + 8^2 &= 113 \\ 9^2 + 10^2 &= 181 \\ 11^2 + 14^2 &= 317 \\ 12^2 + 13^2 &= 313 \\ 17^2 + 18^2 &= 613 \end{aligned} Notice that all of these sums are prime. Therefore, 11 is a good number--if we pick any subset of M M of size 11, it will contain one of these pairs ( a , b ) (a,b) , and a + b a + b will be prime. However, any number n 10 n \le 10 is not good, because we can just take the subset of size n n to be the first n n even numbers. So 11 \boxed{11} is the smallest good number.

Excellent solution!

Shourya Pandey - 7 years, 3 months ago

Great answer and easy to understand. I'll admit I was a little stumped with this question but after seeing your solution I realised I had misread the question itself and went horribly wrong.

Alex Panebianco - 7 years, 3 months ago
Atul Anand Sinha
Feb 8, 2014

Let K = { 1 2 , 3 2 , 5 2 , , 1 7 2 , 1 9 2 } K=\left \{ 1^2,3^2,5^2,\dots , 17^2,19^2 \right \} . Since the sum of any two elements of K K is not prime, n 11 n \ge 11 .

Now let's show that n 11 n \le 11 . We partition M M into 10 10 subsets of order 2 2 such that the sum of two elements in any subset is prime:

M = { 1 2 , 4 2 } { 2 2 , 3 2 } { 5 2 , 8 2 } { 6 2 , 1 1 2 } { 7 2 , 1 0 2 } { 9 2 , 1 6 2 } { 1 2 2 , 1 3 2 } { 1 4 2 , 1 5 2 } { 1 7 2 , 1 8 2 } { 1 9 2 , 2 0 2 } M=\left \{1^2,4^2 \right \} \cup \left \{2^2,3^2 \right \} \cup \left \{5^2,8^2 \right \} \cup \left \{6^2,11^2 \right \} \cup \left \{7^2,10^2 \right \} \cup \left \{9^2,16^2 \right \} \cup \left \{12^2,13^2 \right \} \cup \left \{14^2,15^2 \right \} \cup \left \{17^2,18^2 \right \} \cup \left \{19^2,20^2 \right\} .

Any subset of M M having 11 11 elements contains both elements of at least one of these 10 10 subsets.

The answer: n = 11 n=\boxed{11}

Atul, there is an ambiguity in your question i think; because you have given M to be the set of squares of numbers 1-20.But if we take {1^{2}, 2^{2}} as a set, then we have 5 as the answer.

Sumon Jose - 7 years, 3 months ago

Log in to reply

I don't understand what you are saying. Can you clarify?

Caleb Stanford - 7 years, 3 months ago

To be picky, your question doesn't specify that a a and b b must be distinct. Therefore, you would have to use K = 2 2 , 4 2 , , 2 0 2 K = 2^2, 4^2, \ldots, 20^2 rather than K = 1 2 , 3 2 , , 1 9 2 K = 1^2, 3^2, \ldots, 19^2 , as 1 2 + 1 2 = 2 1^2 + 1^2 = 2 is prime.

Caleb Stanford - 7 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...