What is the probability that we discover $n=1729$ is composite after $1$ trial of the Rabin-Miller Test?
While I know that there are at least $\frac{3}{4}$ of the $a$'s $\in [2,n-2]$ which will discover $n$ is composite after $1$ trial, I don't know how to compute this probability explicitly.
By explicit calculation, the number of bases $a \in [2, 1727]$ for which $1729$ is a strong pseudo-prime is $160$, with the smallest $a=9$ and the largest $a=1720$. So the probability of success is $1-160/1726\approx90.7\%$
Here is the table:
There is a complicated formula for the number of strong pseudo-primes given in Crandall & Pomerance: Prime Numbers, A Computational Perspective, 2nd ed., exercise 3.15, which gives for $n=7\times 13 \times 19,n-1=2^6\times 3^3$ the value $S(n)=2\times 3\times 3 \times 9 = 162,$ including the trivial bases $a=\pm 1 \bmod n.$