RUS  ENG
Full version
JOURNALS // Diskretnaya Matematika // Archive

Diskr. Mat., 1998 Volume 10, Issue 4, Pages 35–38 (Mi dm442)

This article is cited in 1 paper

Simplified justification of the probabilistic Miller–Rabin test for primality

S. B. Gashkov


Abstract: Let $m$ be a positive integer and $\mathbb Z_m^*$ be the set of all positive integeres which are no greater than $m$ and relatively prime to $m$. A number $s\in\mathbb Z_m^*$ is called a witness of primality of $m$ if the sequence
$$ s^{(m-1)2^{-i}} \pmod m,\quad i = 0,1,\ldots, r,\quad m-1 = 2^{r}t, $$
where $t$ is odd, consists only of ones, or begins with ones and continues by minus one and, may be, then by other integers.
We give a simple proof of the following known assertion that is a ground of the Miller–Rabin primality test: The cardinality of the set of witnesses of primality of a composite $m$ is no greater than $\varphi(m)/4$, where $\varphi(m)$ is Euler's totient function.
This work was supported by the Russian Foundation for Basic Research, grant 96–01–068.

UDC: 519.7

Received: 02.02.1998

DOI: 10.4213/dm442


 English version:
Discrete Mathematics and Applications, 1998, 8:6, 545–548

Bibliographic databases:


© Steklov Math. Inst. of RAS, 2025