Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Fermat witness, Carmichael number?

Dikenal juga sebagai: Fermat witness · Carmichael number

Definition 27.13 University Computer Science — Year 2 · Bab 27 — Randomised Algorithms

Let n>2n > 2 be odd and 1≤a≤n−11 \leq a \leq n - 1. If an−1≢1(modn)a^{n-1} \not\equiv 1 \pmod n, then aa is a Fermat witness for nn; otherwise nn passes for the base aa. A Carmichael number is an odd composite number that passes for every base coprime to it.

Baca dalam konteks →