Solution (source code)

= Solution

For $1\leq x\leq n$, conditional binomial probabilities can be written
$$
p_\phi(x)=\binom nx\exp\{\phi x-k(\phi)\},\qquad
\boxed{T=X,\quad\phi=\log\frac{\Pi}{1-\Pi},\quad
k(\phi)=\log\bigl[(1+e^\phi)^n-1\bigr].}
$$
This <zero-truncated binomial distribution> is an <exponential family>. Write $q=1-\pi$ and $s=1-q^n$. The cumulant identities $\mathbb EX=k'$ and $\operatorname{Var}X=k''$, with $d\pi/d\phi=\pi q$, give
$$
\boxed{\mathbb EX=\frac{n\pi}s,\qquad
\operatorname{Var}X=\frac{n\pi q}s-
\frac{n^2\pi^2q^n}{s^2}.}
$$
The <maximum likelihood estimation> score equation is $X=k'(\widehat\phi)$, or
$$
\boxed{X=\frac{n\widehat\Pi}{1-(1-\widehat\Pi)^n}.}
$$
For $n\geq2$ and $1<X<n$ the increasing mean function gives a unique interior solution; $X=1$ and $X=n$ instead give limiting estimates zero and one, respectively. If $n=1$, $X=1$ always and the parameter is unidentifiable.

For fixed $\pi\in(0,1)$ and large $n$, the excluded event has exponentially small probability $(1-\pi)^n$. Conditioning therefore does not change the central-limit approximation for $X/n$, and the score equation differs from $\widehat\Pi=X/n$ only by an exponentially small correction with high probability. The binomial <central limit theorem> consequently gives
$$
\boxed{\widehat\Pi\ \dot\sim\ \mathcal N\left(\pi,\frac{\pi(1-\pi)}n\right).}
$$
The suggested inference after observing one is \b[incorrect for the stated sampling model]. Its conditional likelihood is the unconditioned likelihood divided by $1-(1-\Pi)^n$, a parameter-dependent factor. They are not proportional likelihoods: the unconditioned estimate is $1/n$, whereas the conditional likelihood for $X=1$ is maximized as $\Pi\downarrow0$ for $n>1$. Knowing that the observed value is positive does not remove the selection mechanism from the model.