We have 14 discrete symbols s1, s2, … s14. Each symbol haves the probability p1, p2, …, p14 respectively, to be transmitted. Is the average transmitted information in bits (p1*log2(1) + p2*log2(2). … , + p14*log2(14) ) /14 or (p1*log2(14) + p2*log2(14). … , + p14*log2(14) ) /14 or something else? Is the information for each symbol in bits log2(14) or something else? (I am not a student, and sorry its not a subject of C).
Thanks.