请输入您要查询的字词:

 

单词 PrattCertificate
释义

Pratt certificate


A Pratt certificateMathworldPlanetmath for a given integer n is a primality certificateMathworldPlanetmath in which the numbers allow verification of primality by using the converse of Fermat’s little theorem (or Lehmer’s theorem). Generating a Pratt certificate requires knowledge of the prime factorizationMathworldPlanetmath of n-1 (the primes pi). Then, one must find a witnessMathworldPlanetmath w such that wn-11modn but not

wn-1pi1modn

for any iω(n-1) (with ω(x) being the number of distinct prime factors function). Pratt certificates typically include witnesses not just for n but also for the prime factorsMathworldPlanetmath of n-1.

Because a Pratt certificate requires the factorization of n-1, it is generally only used for small numbers, with “small” being roughly defined as being less than about a billion. We’ll use a much smaller number for our example, one for which it would actually be faster to just perform trial divisionMathworldPlanetmath: n=127. We then have to factor 126, which gives us 2, 3, 3, 7. Choosing our witness w=12, we then see that 121261mod127 but 1263-1mod127, 1242107mod127 and 12188mod127. Most algorithmsMathworldPlanetmath for the Pratt certificate generally hard-code 2 as a prime numberMathworldPlanetmath, but provide certificates for the other primes in the factorization. For this example we won’t bother to give certificates for 3 and 7.

随便看

 

数学辞典收录了18232条数学词条,基本涵盖了常用数学知识及数学英语单词词组的翻译及用法,是数学学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/4 15:58:59