let C be a Prefix Code d1...dn length of each word



I need to show that

2^(-d1)+...+2^-(-dn)<=1

Tried to do it in induction but it didn't work. Is that the way to do
it?

.