Loading [MathJax]/jax/output/HTML-CSS/jax.js

Tuesday, February 14, 2017

Average free subset

A problem which someone posted in Google's internal GooglePlus page (yeah...).


Show that there is a subset S of {1,2,,3k1} such that, S has at least 2k elements and any three distinct elements x,y,z of S do not satisfy x+y=2z

(i.e. no number is the average of some other two numbers).

2 comments:

  1. [Spoiler alert]

    Induction on k works. Suppose for k we have a subset P of S satisfying the condition. For k+1, use P'=P union {x+2*3^k: x\in P}. Clearly P' satisfies the condition too.

    ReplyDelete