Päevaülesanne

Juhuslik

Harjutuskomplekt

Balti Tee 2024 · Ülesanne 16

Arvuteooria

Determine all composite positive integers nn such that, for each positive divisor dd of nn, there are integers k≥0k \geq 0 and m≥2m \geq 2 such that d=km+1d=k^{m}+1.

Muuda valikut

Kui oled valmis

Ülevaatematerjal muutub kättesaadavaks järgmise päevaülesannete komplektiga.

Ülevaade

Teemad

Diofantilised võrrandid · Jaguvus ja tegurdamine

Lahendused

Lahendus 1

Call a positive integer nn powerless if, for each positive divisor dd of nn, there are integers k≥0k \geq 0 and m≥2m \geq 2 such that d=km+1d=k^{m}+1. The solution is composed of proofs of three claims. Claim 1: If nn is powerless, then each positive divisor dd of nn can be written as k2+1k^{2}+1 for some integer kk. Proof: We will prove this by strong induction on the divisors of nn. First, we have that 1=02+11=0^{2}+1. Now let d=km+1>1d=k^{m}+1>1 be a divisor of nn, and assume that all divisors less than dd can be written on the desired form. If mm is even, we are done, and if mm is odd, we have

d=(k+1)(km−1−km−2+⋯+1).d=(k+1)\left(k^{m-1}-k^{m-2}+\cdots+1\right) .

Then, either k+1=dk+1=d, meaning that km=kk^{m}=k so k=1k=1 and d=12+1d=1^{2}+1, or k+1k+1 is a divisor of nn stricly less than dd, so we can write k+1=l2+1k+1=l^{2}+1 for some integer ll. Hence d=(l2)m+1=(lm)2+1d=\left(l^{2}\right)^{m}+1=\left(l^{m}\right)^{2}+1. Claim 2: If nn is powerless, then nn is square-free. Proof: Suppose for contradiction that there is a prime pp such that p2∣np^{2} \mid n. Then by Claim 1 we may write p2=l2+1p^{2}=l^{2}+1. As the difference of square numbers are sums of consecutive odd integers, this leaves only the solution l=0,p=1l=0, p=1, a contradiction. Claim 3: The only composite powerless positive integer is 10. We will give two proofs for this claim. Proof 1: Suppose nn is a composite powerless number with prime divisors p<qp<q. By Claim 1, we write p=a2+1,q=b2+1p=a^{2}+1, q=b^{2}+1 and pq=c2+1p q=c^{2}+1. Then we have c2<pq<q2c^{2}<p q<q^{2}, so c<qc<q. However, as b2+1=q∣c2+1b^{2}+1=q \mid c^{2}+1, we have c2≡−1≡b2( mod q)c^{2} \equiv-1 \equiv b^{2}(\bmod q), so c≡±b( mod q)c \equiv \pm b(\bmod q) and thus either c=bc=b or c=q−bc=q-b. In the first case, we get p=1p=1, a contradiction. In the second case, we get

pq=c2+1=(q−b)2+1=q2−2bq+b2+1=q2−2bq+q=(q−2b+1)qp q=c^{2}+1=(q-b)^{2}+1=q^{2}-2 b q+b^{2}+1=q^{2}-2 b q+q=(q-2 b+1) q

so p=q−2b+1p=q-2 b+1 and thus pp is even. Therefore, p=2p=2, and so b2+1=q=2b+1b^{2}+1=q=2 b+1, which means b=2b=2, and thus q=5q=5. By Claim 2, this implies n=10n=10, and since 1=02+1,2=12+1,5=22+11=0^{2}+1,2=1^{2}+1,5=2^{2}+1 and 10=32+110=3^{2}+1, this is indeed a powerless number. Proof 2: Again, let p≠qp \neq q be prime divisors of nn and write p=a2+1,q=b2+1p=a^{2}+1, q=b^{2}+1 and pq=c2+1p q=c^{2}+1. Factorizing in gaussian integers, this yields

(a+i)(a−i)(b+i)(b−i)=(c+i)(c−i)(a+\mathrm{i})(a-\mathrm{i})(b+\mathrm{i})(b-\mathrm{i})=(c+\mathrm{i})(c-\mathrm{i})

We note that all the factors on the left, and none of the factors on the right, are gaussian primes. Thus, each factor on the right must be the product of two factors on the left. As (a+i)(a−i)(a+i)(a-i) and (b+i)(b−i)(b+i)(b-i) both are real, the unique factorization of Z[i]\mathbb{Z}[\mathrm{i}] leaves us without loss of generality with three cases:

c+i=(a+i)(b+i),c+i=(a−i)(b−i),c+i=(a+i)(b−i)c+\mathrm{i}=(a+\mathrm{i})(b+\mathrm{i}), \quad c+\mathrm{i}=(a-\mathrm{i})(b-\mathrm{i}), \quad c+\mathrm{i}=(a+\mathrm{i})(b-\mathrm{i})

In the first two cases, we have a+b=±1a+b= \pm 1, both contradictions. In the third case, we get b−a=1b-a=1, and thus, q=a2+2a+2q=a^{2}+2 a+2. As this makes q−pq-p odd, we get p=2p=2 meaning a=1a=1 so that q=5q=5. Now we finish as in proof 1. Remark: Claim 2 can also be proven independently of Claim 1 with the help of Mihailescu's theorem.

Lahendus 2

Assume that there exists a prime p<dp<d such that p∤abcdp \nmid a b c d. Then, since p−1∣dp-1 \mid d ! and p∤dp \nmid d, by Fermat's little theorem dd!≡(dp−1)d!p−1≡1( mod p)d^{d!} \equiv\left(d^{p-1}\right)^{\frac{d!}{p-1}} \equiv 1(\bmod p). By the same argument aa!≡bb!≡cc!≡1a^{a!} \equiv b^{b!} \equiv c^{c!} \equiv 1 ( mod p)(\bmod p), and therefore aa!+bb!−cc!−dd!≡1+1−1−1≡0( mod p)a^{a!}+b^{b!}-c^{c!}-d^{d!} \equiv 1+1-1-1 \equiv 0(\bmod p). Now we prove that for big enough dd, the product PP of primes less than dd is at least d10000d^{10000}. Assume d>210001⋅100022d>2^{\frac{10001 \cdot 10002}{2}}. Notice that by Bertrand's postulate, the biggest prime less than dd is at least d2\frac{d}{2}, the second biggest is at least d4\frac{d}{4} etc., and 10001-th biggest is at least d210001\frac{d}{2^{10001}}. So

P≥d2d4⋯d210001=d10001210001⋅100022≥d10000P \geq \frac{d}{2} \frac{d}{4} \cdots \frac{d}{2^{10001}}=\frac{d^{10001}}{2^{\frac{10001 \cdot 10002}{2}}} \geq d^{10000}

Now note that the number of quadruples where d<210001⋅100022d<2^{\frac{10001 \cdot 10002}{2}} is finite, because all the number are bounded above by d2024d^{2024} and hence by 210001⋅100022⋅20242^{\frac{10001 \cdot 10002}{2}} \cdot 2024. When d≥210001⋅100022d \geq 2^{\frac{10001 \cdot 10002}{2}} we have abcd≤a b c d \leq d1+3⋅2024<d7000d^{1+3 \cdot 2024}<d^{7000} and since P≥d10000P \geq d^{10000}, there exist at least two primes pp and qq, less than dd, that do not divide abcda b c d. But then by our first result, we have pq∣aa!+bb!−cc!−dd!p q \mid a^{a!}+b^{b!}-c^{c!}-d^{d!}, so it cannot be prime. Remark: The solution can be modified as follows. We can proceed in the first paragraph to conclude that aa!+bb!−cc!−dd!a^{a!}+b^{b!}-c^{c!}-d^{d!} is not prime. Indeed, if aa!+bb!−cc!−dd!=pa^{a!}+b^{b!}-c^{c!}-d^{d!}=p where p<dp<d then definitely a>da>d (otherwise a=b=c=da=b=c=d and aa!+bb!−cc!−dd!=0a^{a!}+b^{b!}-c^{c!}-d^{d!}=0 ). Hence

d>p=aa!+bb!−cc!−dd!≥aa!−dd!=(a(d+1)⋅…⋅a)d!−dd!≥(ad+1)d!−dd!≥ad+1−d>dd+1−d>d2−d=(d−1)d≥d\begin{aligned} d & >p=a^{a!}+b^{b!}-c^{c!}-d^{d!} \geq a^{a!}-d^{d!}=\left(a^{(d+1) \cdot \ldots \cdot a}\right)^{d!}-d^{d!} \\ & \geq\left(a^{d+1}\right)^{d!}-d^{d!} \geq a^{d+1}-d>d^{d+1}-d>d^{2}-d=(d-1) d \geq d \end{aligned}

contradiction. Then in the last paragraph, there is no need to find two primes less than dd that do not divide abcda b c d, one is enough.

Võistluse kontekst

Balti Tee tulemused 2024

11 võistkonda

Keskmine tulemus
0,5 / 5
4 või 5 punkti
1 / 11
Eesti
0 / 5

Punktijaotus

09
11
20
30
41
50
Kõigi võistkondade punktid
VõistkondPunktid
Poland4 / 5
Estonia0 / 5
Germany0 / 5
Ukraine0 / 5
Latvia0 / 5
Norway0 / 5
Lithuania1 / 5
Sweden0 / 5
Denmark0 / 5
Finland0 / 5
Iceland0 / 5