跳到主要内容

東京大学 新領域創成科学研究科 海洋技術環境学専攻 2023年8月実施 第3問

Author

祭音Myyura

Description

素数 a,ba, b を⽤いて ab+baa^b + b^a と表される素数をすべて求めよ。


Find all the prime numbers represented by ab+baa^b + b^a, where aa and bb are prime numbers.

题目描述

a,ba,b 均为素数。求所有仍为素数的数

ab+ba;a^b+b^a;

需要遍历并排除所有可能的素数参数情形,而不只是求一组例子。

考点

  • 素数型丢番图分析:按 a,ba,b 是否为 2 分类,利用奇偶性与因数分解判断 ab+baa^b+b^a 何时可能为素数。

Kai

If a,b>2a,b>2 are odd primes, then aba^b and bab^a are both odd, so ab+baa^b+b^a is even and >2>2.

Hence one of a,ba,b must be 22. Let the other be an odd prime pp. Then

ab+ba=2p+p2.a^b+b^a=2^p+p^2.

For p3p\neq 3, note 2p2(mod3)2^p\equiv 2\pmod 3 (since pp is odd) and p21(mod3)p^2\equiv 1\pmod 3, so 2p+p20(mod3)2^p+p^2\equiv 0\pmod 3.

For p=3p=3, 23+32=8+9=172^3+3^2=8+9=17, which is prime.

Also, a=b=2a=b=2 gives 88, not prime.

Therefore, the only prime of the form ab+baa^b+b^a with a,ba,b prime is

17(from (a,b)=(2,3) or (3,2)).\boxed{17}\quad\text{(from }(a,b)=(2,3)\text{ or }(3,2)\text{).}