For a binomial distribution with parameters n and p, the mean is np and the variance is npq where q=1−p.
Since the mean plus variance equals 24 and their product is 128, we have
np+npq=24⟹np(1+q)=24
np⋅npq=128⟹n2p2q=128
To simplify these equations, introduce the notation m=np, which transforms the relationships into
m(1+q)=24…(1)
m2q=128…(2)
From (1), it follows that
m=1+q24
Substituting this expression for m into equation (2) yields:
(1+q)2576⋅q=128
576q=128(1+q)2=128(1+2q+q2)
576q=128+256q+128q2
128q2−320q+128=0
q2−2.5q+1=0⟹2q2−5q+2=0
(2q−1)(q−2)=0
q=21 or q=2
Since 0≤q≤1, the valid solution is q=21 and hence p=21.
Having determined p, the relation m=np gives
m=np=1+2124=2324=16
n=p16=1/216=32
Finally, the probability of observing one or two successes is computed as
P(X=1)+P(X=2)=(132)(21)32+(232)(21)32
=2321(32+232⋅31)=2321(32+496)=232528
=232528=23233×16=23233×24=22833
Thus, the required probability is 22833, which corresponds to Option C.