全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Fermat witness, Carmichael number?

又称: Fermat witness · Carmichael number

Definition 27.13 University Computer Science — Year 2 · 第 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.

在原文中阅读 →