返回题库

PUMaC 2007 · 数论(A 组) · 第 9 题

PUMaC 2007 — Number Theory (Division A) — Problem 9

专题
Contest Math / 竞赛数学
难度
L3
来源
PUMaC

题目详情

有多少整数对 (a,b)(a,b) 满足 1≤a,b≤421 \le a,b \le 42 且 a9≡b7(mod43)a^9 \equiv b^7 \pmod{43}?

英文原题

  1. How many pairs of integers a and b are there such that a and b are between 1 and 42 and a9=b7a^{9}=b^{7}
    mod 43?
解析

模 43 原根分析。7∣A7|A,A=7tA=7t,B≡3t(mod6)B\equiv3t\pmod{6}。统计 B∈[0,41]B\in[0,41]:共 36\boxed{36} 对。


英文解析

Let gg be primitive root mod 43. a=gA,b=gBa=g^{A}, b=g^{B}. a9≡b7(mod43)  ⟺  9A≡7B(mod42)a^{9}\equiv b^{7}\pmod{43} \iff 9A\equiv 7B\pmod{42}. Since gcd⁡(7,42)=7\gcd(7,42)=7, 7∣9A7|9A, so 7∣A7|A. A∈{0,7,14,21,28,35}A\in\{0,7,14,21,28,35\} (6 values).

A=7tA=7t, 63t≡7B(mod42)63t\equiv7B\pmod{42}, 3t≡B(mod6)3t\equiv B\pmod{6}. Count B∈[0,41]B\in[0,41]: t=0,1→7 each; t=2,3→6; t=4,5→5. Total: 7+7+6+6+5+5=367+7+6+6+5+5=\boxed{36} pairs.