Find the smallest natural k such that among any k distinct and pairwise coprime naturals smaller than 2018, a prime can be found.
Note: 1 is not considered a prime here
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.
Great solution! Instead of 2 2 , you could also take 2 ⋅ 4 7 , 2 ⋅ 5 3 , ... until 2 ⋅ 9 9 7 . So, do you know how many distinct such sets of 15 elements there are?
Log in to reply
I really did not go that far, Henry. But if you have an idea, I would happily attach it to the solution.
Log in to reply
We can work backwards to make the process of counting easier. Every element of the set must be the product of exactly 2 primes, one of which has to be the same as in your example. These primes are p n ⋅ q n .
For 4 3 ⋅ q 1 4 , the only possibility is q 1 4 = 4 3 since 4 3 ⋅ 4 7 > 2 0 1 8 .
For 4 1 ⋅ q 1 3 , only 47 is possible, so q 1 3 = 4 7 .
For 3 7 ⋅ q 1 2 , { 4 7 , 5 3 } are possible, but only q 1 2 = 5 3 hasn't been used.
For 3 1 ⋅ q 1 1 , { 4 7 , 5 3 , 5 9 , 6 1 } are possible, q_{11} \in \{59,61} , so there are 2 choices.
For 2 9 ⋅ q 1 0 , there are the choices { 4 7 , 5 3 , 5 9 , 6 1 , 6 7 } , q 1 0 ∈ { 5 9 , 6 1 , 6 7 } , 3 choices but one of them is q 1 1 , so actually there are 2 choices.
We would continue in the same way for all primes in A . For the prime p n ∈ A (with p 1 = 2 , p 1 4 = 4 3 ), there are π ( p n 2 0 1 8 ) − π ( 4 3 ) choices for q n but 1 3 − n of them have already been used, so there actually are
π ( p n 2 0 1 8 ) − π ( 4 3 ) + n − 1 3
distinct possibilities for q n .
To find the total number of possible sets, we only have to multiply this value for all 1 ≤ n ≤ 1 3 .
n = 1 ∏ 1 3 ( π ( p n 2 0 1 8 ) − π ( 4 3 ) + n − 1 3 )
Wolframalpha gives me an answer of 13,771,929,600,000.
Passer-by: Another way, you can change 2^2 to any number that is divisible by 2 but not by 3;5;7;...;43 and is smaller than 2018 (2^3; 2^4;...; 2^11; 2^3.47; 2^2.53;... are all possible too), and then 3^2, 5^2,... urgh... too complicated to me :P so if it were me, I'd pass :D .
Pick any natural m ≥ 2 . Let { a i } i = 1 m be an increasing sequence of distinct, not prime, pairwise coprime naturals. Let { p i } i = 1 ∞ be the sequence of primes in increasing order. Let b 1 = 1 , and for 2 ≤ i ≤ m let b i be the smallest prime dividing a i (the existence of b i follows from every natural greater than one having at least one prime divisor, together with the well-ordering principle). So, b 2 , . . . , b m is a sequence of m − 1 prime numbers. Suppose that for each 2 ≤ i ≤ m we have b i < p m − 1 . If m = 2 , this implies b 2 is a prime smaller than 2 , a contradiction. If m > 2 , since there are only m − 2 primes less than p m − 1 , the pigeonhole principle guarantees 2 ≤ i , j ≤ m such that i = j but b i = b j . But it follows then that a i and a j share a prime factor, contradicting that they are pairwise coprime. Therefore there must actually be 2 ≤ k ≤ m such that b k ≥ p m − 1 . Since b k divides a k we can write a k = n b k for some natural n . Since a k is not prime, it follows that n > 1 , so that we can pick a prime p dividing n (note that we hence have p ≤ n ). But it follows that p also divides a k , and therefore b k ≤ p ≤ n (since b k was chosen to be the smallest prime dividing a k ). Therefore, a k = n b k ≥ b k 2 ≥ p m − 1 2 . Since { a i } i = 1 m is increasing, it follows that a m ≥ a k ≥ p m − 1 2 .
Fix any natural n > 1 . Suppose that m ≥ 2 and p m − 1 2 ≥ n . Then, if it were possible to choose m distinct, not prime, and pairwise coprime naturals smaller than n , it would follow from the above argument that the largest of these (say k ) satisfies n > k ≥ p m − 1 2 , contradicting that p m − 1 2 ≥ n . Therefore, in fact, every choice of m distinct and pairwise coprime naturals smaller than n must include at least one prime.
Conversely, if every choice of m distinct and pairwise coprime naturals smaller than n must include at least one prime, then we must have m > 1 . Further, since 1 , p 1 2 , . . . , p m − 1 2 is asequence of m distinct and pairwise coprime naturals with no primes, it must contain an element at least as large as n. Since p m − 1 2 is its largest element, it follows that p m − 1 2 ≥ n .
So, finally, it follows that every choice of m distinct and pairwise coprime naturals smaller than n contains a prime if and only if m > 1 and p m − 1 2 ≥ n . So, applying the result to this problem, we simply need to find the smallest m > 1 with p m − 1 2 ≥ 2 0 1 8 , which is m = 1 6 .
Problem Loading...
Note Loading...
Set Loading...
Intuitively, pay attention that there are 1 4 primes less than 2 0 1 8 ≈ 4 5 . If we try to choose numbers, in the range 1 to 2 0 1 8 , wisely, such that we neither take a prime nor a number that is made of more than a single prime, we see that 1 5 is the most we can achieve. The set is A = { 1 , 2 2 , 3 2 , 5 2 , 7 2 , 1 1 2 , 1 3 2 , 1 7 2 , 1 9 2 , 2 3 2 , 2 9 2 , 3 1 2 , 3 7 2 , 4 1 2 , 4 3 2 } . Any number that is not in the set would be either a prime, in the range 1 to 2 0 1 8 , or is relatively not prime with respect to at least one member of the set.