We have X∼B(n,p) with mean μ=np and variance σ2=npq (where q=1−p). We are given:
μ+σ2=24 and μ⋅σ2=128.
np+npq=24⟹np(1+q)=24
np⋅npq=128⟹n2p2q=128
From the first equation: np=1+q24=2−p24.
From the second: (np)2⋅q=128.
Substituting: (2−p24)2(1−p)=128.
(2−p)2576(1−p)=128
576(1−p)=128(2−p)2
576−576p=128(4−4p+p2)
576−576p=512−512p+128p2
64−64p=128p2
1−p=2p2
2p2+p−1=0
(2p−1)(p+1)=0
So p=21 (rejecting p=−1).
Then q=21, and np(1+q)=np⋅23=24, so np=16, giving n=32.
P(X=r)=(r32)(21)32
P(X>29)=2321[(3032)+(3132)+(3232)]
(3032)=(232)=232×31=496
(3132)=32
(3232)=1
P(X>29)=232496+32+1=232529
Since P(X>n−3)=2nk=232k, we get k=529.
The correct answer is Option B: 529.