Maths Olympiad Prep

Track / Stage 5 / 91 of 400 #1171 of 2444

Problem 1171

AIME late
Number theory Difficulty 5.1 Prove it Croatian Mathematical Society Competitions · Croatia

A quadruple (a,b,c,d)(a, b, c, d) of positive integers is called green if
b=a2+1,c=b2+1,d=c2+1 b = a^2 + 1, \quad c = b^2 + 1, \quad d = c^2 + 1
holds, and D(a)+D(b)+D(c)+D(d)D(a) + D(b) + D(c) + D(d) is odd, where D(k)D(k) denotes the number of positive divisors of kk.
How many green quadruples having elements less than 1\ 000\ 000 are there?

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

Note that D(k)D(k) is odd if and only if kk is a perfect square.
From m2<m2+1<m2+2m+1=(m+1)2m^2 < m^2 + 1 < m^2 + 2m + 1 = (m+1)^2 it follows that m2+1m^2 + 1 is not a perfect square for any positive integer mm. Hence b,cb, c and dd of any green quadruple are not perfect squares, i.e. D(b),D(c)D(b), D(c) and D(d)D(d) are even.
Therefore, D(a)D(a) must be odd and aa is a perfect square.
Since 106>d>c2>b4>a810^6 > d > c^2 > b^4 > a^8, i.e. 210=1024>103>a42^{10} = 1024 > 10^3 > a^4, we get 62>25>a26^2 > 2^5 > a^2, i.e. a<6a < 6. Hence a=1a = 1 or a=4a = 4.
A direct computation confirms that both options yield green quadruples: (1,2,5,26)(1, 2, 5, 26) and (4,17,290,84101)(4, 17, 290, 84101). Therefore, the answer is 2.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.