Just as a tangent: what you posed is an example of what the magic community refers to as a problem (what the spectator sees). Magicians then try to come up with a method that satisfies all the constraints specified in the problem.
16 karma · joined January 29, 2015
N choose K = (N-1 choose K-1) + (N-1 choose K).
Also, if you sum (N choose K) for all values of K you get 2^N.