127128
6364
255256
12
p=P(H)=1/2,q=P(T)=1/2P(at least one head one tail) =P(1≤H≤7)=1−[p(H)=0 and p(H)=8]=1−[2×(1/2)^8]=1−[2×1/256]=1−1/128=127/128.