Maths Olympiad Prep

Track / Stage 5 / 151 of 400 #751 of 1964

Problem 751

AIME late
Number theory Difficulty 5.4 Find the answer

14.1.2 ** Find all pairs of positive integers (a,b)(a, b), such that: a2+b+1a^{2}+b+1 is a power of a prime, a2+b+1a^{2}+b+1 divides b2a31b^{2}-a^{3}-1, but does not divide (a+b1)2(a+b-1)^{2}.

A number or a short expression. Spacing and $ signs are ignored.

Official solution

Parse b2a31=a(a2+b+1)+(b+1)(a+b1)b^{2}-a^{3}-1=-a\left(a^{2}+b+1\right)+(b+1)(a+b-1), so a2+b+1a^{2}+b+1 divides (b+1)(a+b1)(b+1)(a+b-1).

Let a2+b+1=pk,pa^{2}+b+1=p^{k}, p be a prime, then pk(b+1)(a+b1)p^{k} \mid(b+1)(a+b-1). Since pk(a+b1)2p^{k} \nmid(a+b-1)^{2}, it must be that p(b+1)p \mid(b+1). Also, a2+b+1>b+1a^{2}+b+1>b+1, so pk(b+1),p(a+b1)p^{k} \nmid(b+1), p \mid(a+b-1). Thus, pp divides a2+b+1(b+1)=a2,pa^{2}+b+1-(b+1)=a^{2}, p divides a.pa . p divides a+b+1(a+b1)=2.p=2a+b+1-(a+b-1)=2 . p=2.

Let a=2sa1,b+1=2tb1,sta=2^{s} a_{1}, b+1=2^{t} b_{1}, s 、 t be positive integers, a1b1a_{1} 、 b_{1} be positive odd numbers. Since 22sa12+2tb12k2^{2 s} a_{1}^{2}+2^{t} b_{1}-2^{k}, it follows that k>2s,k>t.22sk>2 s, k>t .2^{2 s} divides 2k2^{k}, thus 22s2^{2 s} divides 2t2^{t}, i.e., 2st2 s \leqslant t. Similarly, t2st \leqslant 2 s. Therefore, t=2s.a12+b1=2k2s2t=2s. a_{1}^{2}+b_{1}=2^{k-2 s} \geqslant 2. a+b1=2sa1+22sb12a+b-1=2^{s} a_{1}+2^{2 s} b_{1}-2.

If s>1s>1, then the power of 2 in a+b1a+b-1 is 1. From a2+b+1a^{2}+b+1 divides (b+1)(a+b1)(b+1)(a+b-1), we get k2s+1k \leqslant 2 s+1. Thus, k=2s+1k=2 s+1 and a12+b1=2,a1=b1=1a_{1}^{2}+b_{1}=2, a_{1}=b_{1}=1. In this case, a=2s,b=22s1a=2^{s}, b=2^{2 s}-1. If s=1s=1, then a+b1=2(a11)+22b1a+b-1=2\left(a_{1}-1\right)+2^{2} b_{1}. Since a1a_{1} is odd, a11a_{1}-1 is even, and the power of 2 in a+b1a+b-1 is at least 2. But a2+b+1a^{2}+b+1 divides (b+1)(a+b1)(b+1)(a+b-1) but does not divide (a+b1)2(a+b-1)^{2}, indicating that the power of 2 in a+b1a+b-1 is less than the power of 2 in b+1b+1, i.e., less than 2s=22 s=2, a contradiction!
Therefore, the solution to this problem is a=2s,b=22s1,s=2,3,4,a=2^{s}, b=2^{2 s}-1, s=2,3,4, \cdots.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.