知识卡片
二次剩余表示模素数平方有解
对奇素数p,若存在x使x²≡a(mod p),就称a为模p的二次剩余。它问的是某个剩余类能否由平方得到,而不是普通整数平方根是否存在;后续习题要求证明数量与求根方法。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第31章 数论算法 · 查看原书依据
A number is a quadratic residue modulo p, if the equation x2 = a (mod p) has a solution for the unknown x. a. Show that there are exactly (p – 1)/2 quadratic residues, modulo p. b. If p is prime, we define the Legendre symbol , for , to be 1 if a is a quadratic residue, modulo p, and –1 otherwise. Prove that if , then Give an efficient algorithm that determines whether a given
参考来源
- 位置:《算法导论(第4版)》第31章《数论算法》(OEBPS/chapter031.xhtml,文本字符[95000,100000))。
- 结论依据:第31章相应定理、习题定义或章末注释;相关图式与来源段落已核对。
- 原始内容:A number is a quadratic residue modulo p , if the equation x 2 = a (mod p ) has a solution for the unknown x . a. Show that there are exactly ( p – 1)/2 quadratic residues, modulo p . b. If p is prime, we define the Legendre symbol , for , to be 1 if a is a quadratic residue, modulo p , and –1 otherwise. Prove that if , then Give an efficient algorithm that determines whether a given