Divisibility Problem

Source:
Posted by JDGM (James Miles) in comments on http://www.puzzletweeter.com ( A fanstastic blog by Gowtham Kumar, PhD Student, Stanford, IITM Alumnus)

Problem:
Prove that from the numbers 1 to 200 we cannot pick 101 of them such that none divide any other.


Update (24 June 2014):
Solution: Posted by Suman Datta, Stainless (Ameya Ranade, CSE IITB 2009 Alumnus, Microsoft, Google, Facebook Engineer) and Wei Chen in comments!

Comments

  1. Express each number 1 to 200 as 2^k * p.
    Now p can be 1,3,5,....199. So there are 100 distinct p. So by PHP if we choose 101 number then two number will have same p.
    Let these number are a=2^k1 * p and b=2^k2 * p.
    So depending on k1>k2 or k1<k2 b will divide a and vice-versa.

    Reply Delete
  2. take 100 series
    1. (1,2,4,8,...128)
    2. (3,6,12,...192)
    3. (5,10,20,...160)
    .
    .
    .
    100. (199)

    There are all 200 numbers in them, and if you pick any 2 numbers from any series, they'll be divisible by each other by factor of power of 2.

    By pigeon-hole principle, we can't have 101 number without one being divisible by other.

    Reply Delete
  3. This is due to Paul Erdos.

    We may write each number in the form 2^k*m where m is an odd integer. There are at most 100 possible values for m. Thus by the pigeonhole principle, we must have two with the same m value and one even part will divide the other.

    Reply Delete
  4. Suppose at first we pick numbers 101 to 200. Let's call it set S.So we have 100 numbers in set S. In order to increase the number of numbers in set S such that none divides any other we have to remove one number,lets say N from set S and add two or more numbers from 67-100 in set S such that these numbers divide N. But no such numbers exist. So the maximum numbers that can be picked with the constraint given is 100.

    Reply Delete
    Replies
    1. Just because it cannot be constructed by the method you showed, does not mean it does not exist. What is there are x elements < 100 and not 1?

      Delete
  5. Suppose it is possible.
    Then, I divide 1-200 into two groups: 1-100;101-200. Each having 100 each in the group.

    Now as it was possible, thus assume that in the possible case you have k numbers chosen from group 1-100 and 101-k from the group 101-200. (As we have to choose 101 such numbers)

    Now, note that with every number in the group 1-100, there corresponds a number in 101-200 that cannot be chosen. This is because, say we chose 62 from 1-100. But then 62*2=124 cannot be chosen from 101-200.

    Therefore there would be at least k such numbers in the group 101-200 that can't be chosen. Therefore we only have 100-k possibilities left in the group 1-100, while we have to choose 101-k. (Being greater that 100-k)

    Thus, a contradiction!
    This should be it I think.

    Reply Delete
    Replies
    1. Why would all the k numbers to be neglected in 101-200 set would be distinct ?

      Delete
    2. Yep. Agree with Gibraltar point. Unknown, your solution is not correct. Thanks for the attempt though.

      Delete

Post a Comment

[フレーム]

Popular posts from this blog

Buying Dimsums

Source: Alok Goyal (Stellaris VP, Ex-Helion VC) puzzle blog Problem: A fast food restaurant sells dimsums in boxes of 7 and 3. What’s the greatest number of dimsums a person cannot buy. Generalize it for p and q where p and q are relatively prime. I loved the puzzle. Hope you enjoy it too.

Polya's Urn Problem

Puzzle: There are two urns with one ball each. Each of subsequent n-2 balls is placed into one of these urns, with probability proportional to the number of balls already in that urn. What is the expected number of balls in the smaller sized urn? Source: P. Winkler's Puzzles book. (Chapter: Probability). Solution: Highlight the part between the * symbols for the answer. * This problem can be reformulated as the following problem. Suppose I have a stack of black cards and one red card. Initially I take red card in my hand. Now I add black cards randomly between any two cards (so, initially its either above or below red). Note that the probability that I add the card above the red card, when x-1 is the number of cards above red and y-1 is the number of cards below red is x/(x+y). Let the problem be if red card is dividing the black cards into two sets, what is the expected number of black cards in the smaller section. So, we see that the two problems are equivalent. No...

Fraction Brainteaser

Source: Sent to me by Gaurav Sinha Problem: Siddhant writes a Maths test and correctly answers 5 out of 6 Arithmetic questions and 20 out of 28 Geometry questions.  In total, Siddhant scores 25 out of 34.  Vaibhav writes another Maths test and correctly answers 20 out of 25 Arithmetic questions and 6 out of 9 Geometry questions. in total, Vaibhav scores 26 out of 34. Note that a) Vaibhav scores more than Siddhant b) Siddhant score better than Vaibhav in both individual topics -  5/6 > 20/25 and 20/28 > 6/9 How is it possible?