15000 years ago Tilif ministry in Persia decided to define a code for n≥2 cities. Each code is a sequence of 0,1 such that no code start with another code. We know that from 2m calls from foreign countries to Persia 2m−ai of them where from the i-th city (So ∑i=1n2ai1=1). Let li be length of code assigned to i-th city. Prove that ∑i=1n2ili is minimum iff ∀i, li=ai combinatorics proposedcombinatorics