2008 AIME II 考试答案

Scroll down to view professionally curated solutions from LIVE by Po-Shen Loh, print PDF solutions, view answer key, or:

Try Exam

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

1.

Let N=1002+992982972+962++42+322212,N = 100^2 + 99^2 - 98^2 - 97^2 + 96^2 + \cdots + 4^2 + 3^2 - 2^2 - 1^2, where the additions and subtractions alternate in pairs. Find the remainder when NN is divided by 1000.1000.

Concepts:difference of squarespairing and groupingsummation

Difficulty rating: 1890

Solution:

Group the terms four at a time. For k=1,2,,25,k = 1, 2, \ldots, 25, the block ending at (4k)2(4k)^2 is (4k)2+(4k1)2(4k2)2(4k3)2=2(8k2)+2(8k4)=32k12,(4k)^2 + (4k-1)^2 - (4k-2)^2 - (4k-3)^2 = 2(8k - 2) + 2(8k - 4) = 32k - 12, using the difference of squares a2b2=(a+b)(ab)a^2 - b^2 = (a + b)(a - b) with ab=2a - b = 2 twice.

Summing over k=1k = 1 to 25,25, N=32252621225=10400300=10100,N = 32 \cdot \frac{25 \cdot 26}{2} - 12 \cdot 25 = 10400 - 300 = 10100, so the remainder when NN is divided by 10001000 is 100.100.

2.

Rudolph bikes at a constant rate and stops for a five-minute break at the end of every mile. Jennifer bikes at a constant rate which is three-quarters the rate that Rudolph bikes, but Jennifer takes a five-minute break at the end of every two miles. Jennifer and Rudolph begin biking at the same time and arrive at the 5050-mile mark at exactly the same time. How many minutes has it taken them?

Difficulty rating: 2020

Solution:

Let Rudolph bike at rr miles per minute. He rests after each of miles 11 through 49,49, so his total time is 50r+495=50r+245\frac{50}{r} + 49 \cdot 5 = \frac{50}{r} + 245 minutes. Jennifer bikes at 3r4\frac{3r}{4} miles per minute and rests after each of miles 2,4,,48,2, 4, \ldots, 48, so her total time is 503r/4+245=2003r+120\frac{50}{3r/4} + 24 \cdot 5 = \frac{200}{3r} + 120 minutes.

Setting the times equal gives 50r+245=2003r+120,so125=2001503r=503r,\frac{50}{r} + 245 = \frac{200}{3r} + 120, \qquad \text{so} \qquad 125 = \frac{200 - 150}{3r} = \frac{50}{3r}, and r=215.r = \frac{2}{15}. The common time is 502/15+245=375+245=620\frac{50}{2/15} + 245 = 375 + 245 = 620 minutes.

3.

A block of cheese in the shape of a rectangular solid measures 1010 cm by 1313 cm by 1414 cm. Ten slices are cut from the cheese. Each slice has a width of 11 cm and is cut parallel to one face of the cheese. The individual slices are not necessarily parallel to each other. What is the maximum possible volume in cubic cm of the remaining block of cheese after ten slices have been cut off?

Difficulty rating: 1970

Solution:

Every slice is 11 cm wide and parallel to a face, so after each cut the remaining cheese is still a rectangular block, with one dimension shortened by 1.1. If the ten slices shorten the three dimensions by p,p, q,q, and rr with p+q+r=10,p + q + r = 10, the remaining block measures (10p)×(13q)×(14r),(10 - p) \times (13 - q) \times (14 - r), and these dimensions sum to 3710=27.37 - 10 = 27.

By the AM-GM inequality, a product of positive numbers with fixed sum 2727 is greatest when all three are equal to 9,9, which is achieved by taking 11 slice from the 1010 cm dimension, 44 from the 1313 cm dimension, and 55 from the 1414 cm dimension. The maximum volume is 93=7299^3 = 729 cubic cm.

4.

There exist rr unique nonnegative integers n1>n2>>nrn_1 \gt n_2 \gt \cdots \gt n_r and rr unique integers aka_k (1kr)(1 \le k \le r) with each aka_k either 11 or 1-1 such that a13n1+a23n2++ar3nr=2008.a_1 3^{n_1} + a_2 3^{n_2} + \cdots + a_r 3^{n_r} = 2008. Find n1+n2++nr.n_1 + n_2 + \cdots + n_r.

Difficulty rating: 2350

Solution:

In base 3,3, 2008=22021013,2008 = 2202101_3, that is, 2008=236+235+233+32+30.2008 = 2 \cdot 3^6 + 2 \cdot 3^5 + 2 \cdot 3^3 + 3^2 + 3^0. To convert the digits 22 into coefficients ±1,\pm 1, use 23k=3k+13k.2 \cdot 3^k = 3^{k+1} - 3^k. The two adjacent digits 22 collapse neatly: 236+235=(3736)+(3635)=3735,2 \cdot 3^6 + 2 \cdot 3^5 = (3^7 - 3^6) + (3^6 - 3^5) = 3^7 - 3^5, and 233=3433.2 \cdot 3^3 = 3^4 - 3^3.

Therefore 2008=3735+3433+32+30,2008 = 3^7 - 3^5 + 3^4 - 3^3 + 3^2 + 3^0, which has distinct exponents and coefficients ±1,\pm 1, as required. The sum of the exponents is 7+5+4+3+2+0=21.7 + 5 + 4 + 3 + 2 + 0 = 21.

5.

In trapezoid ABCDABCD with BCAD,\overline{BC} \parallel \overline{AD}, let BC=1000BC = 1000 and AD=2008.AD = 2008. Let A=37,\angle A = 37^\circ, D=53,\angle D = 53^\circ, and MM and NN be the midpoints of BC\overline{BC} and AD,\overline{AD}, respectively. Find the length MN.MN.

Solution:

Extend legs AB\overline{AB} and DC\overline{DC} until they meet at a point E.E. Since A+D=37+53=90,\angle A + \angle D = 37^\circ + 53^\circ = 90^\circ, triangle EADEAD has a right angle at E.E. Because BCAD,\overline{BC} \parallel \overline{AD}, triangle EBCEBC is the image of triangle EADEAD under a homothety centered at E,E, so the midpoint MM of BC\overline{BC} maps to the midpoint NN of AD;\overline{AD}; in particular E,E, M,M, and NN are collinear.

The median to the hypotenuse of a right triangle is half the hypotenuse, so EN=20082=1004EN = \frac{2008}{2} = 1004 and EM=10002=500.EM = \frac{1000}{2} = 500. Therefore MN=ENEM=1004500=504.MN = EN - EM = 1004 - 500 = 504.

6.

The sequence {an}\{a_n\} is defined by a0=1,a1=1,andan=an1+an12an2for n2.a_0 = 1, \quad a_1 = 1, \quad \text{and} \quad a_n = a_{n-1} + \frac{a_{n-1}^2}{a_{n-2}} \quad \text{for } n \ge 2.

The sequence {bn}\{b_n\} is defined by b0=1,b1=3,andbn=bn1+bn12bn2for n2.b_0 = 1, \quad b_1 = 3, \quad \text{and} \quad b_n = b_{n-1} + \frac{b_{n-1}^2}{b_{n-2}} \quad \text{for } n \ge 2.

Find b32a32.\frac{b_{32}}{a_{32}}.

Difficulty rating: 2460

Solution:

Dividing the recurrence by an1a_{n-1} gives anan1=1+an1an2,\frac{a_n}{a_{n-1}} = 1 + \frac{a_{n-1}}{a_{n-2}}, so the consecutive-term ratio increases by exactly 11 each step. For {an}\{a_n\} the first ratio is a1a0=1,\frac{a_1}{a_0} = 1, so anan1=n\frac{a_n}{a_{n-1}} = n and an=n!.a_n = n!. The same computation applies to {bn},\{b_n\}, whose first ratio is b1b0=3,\frac{b_1}{b_0} = 3, so bnbn1=n+2\frac{b_n}{b_{n-1}} = n + 2 and bn=(n+2)!2.b_n = \frac{(n+2)!}{2}.

Therefore b32a32=34!/232!=34332=561.\frac{b_{32}}{a_{32}} = \frac{34!/2}{32!} = \frac{34 \cdot 33}{2} = 561.

7.

Let r,r, s,s, and tt be the three roots of the equation 8x3+1001x+2008=0.8x^3 + 1001x + 2008 = 0. Find (r+s)3+(s+t)3+(t+r)3.(r + s)^3 + (s + t)^3 + (t + r)^3.

Solution:

The cubic has no x2x^2 term, so r+s+t=0r + s + t = 0 by Vieta's formulas. Hence r+s=t,r + s = -t, s+t=r,s + t = -r, and t+r=s,t + r = -s, and the desired sum is (t)3+(r)3+(s)3=(r3+s3+t3).(-t)^3 + (-r)^3 + (-s)^3 = -(r^3 + s^3 + t^3).

Whenever r+s+t=0,r + s + t = 0, the identity r3+s3+t33rst=(r+s+t)(r2+s2+t2rssttr)r^3 + s^3 + t^3 - 3rst = (r + s + t)(r^2 + s^2 + t^2 - rs - st - tr) gives r3+s3+t3=3rst.r^3 + s^3 + t^3 = 3rst. By Vieta's formulas, rst=20088=251,rst = -\frac{2008}{8} = -251, so r3+s3+t3=753,r^3 + s^3 + t^3 = -753, and the answer is (753)=753.-(-753) = 753.

8.

Let a=π/2008.a = \pi/2008. Find the smallest positive integer nn such that 2[cos(a)sin(a)+cos(4a)sin(2a)+cos(9a)sin(3a)++cos(n2a)sin(na)]2[\cos(a)\sin(a) + \cos(4a)\sin(2a) + \cos(9a)\sin(3a) + \cdots + \cos(n^2 a)\sin(na)] is an integer.

Difficulty rating: 2740

Solution:

By the product-to-sum identity, 2cos(k2a)sin(ka)=sin(k2a+ka)sin(k2aka)=sin(k(k+1)a)sin((k1)ka).2\cos(k^2 a)\sin(ka) = \sin(k^2 a + ka) - \sin(k^2 a - ka) = \sin(k(k+1)a) - \sin((k-1)k a). Summing over k=1k = 1 to n,n, the terms telescope, leaving sin(n(n+1)a)=sinn(n+1)π2008.\sin(n(n+1)a) = \sin\frac{n(n+1)\pi}{2008}.

A sine is an integer only when it is 1,-1, 0,0, or 1,1, that is, when its argument is a multiple of π2.\frac{\pi}{2}. So we need n(n+1)2008\frac{n(n+1)}{2008} to be a multiple of 12,\frac{1}{2}, i.e. 1004n(n+1),1004 \mid n(n+1), where 1004=42511004 = 4 \cdot 251 and 251251 is prime.

Since nn and n+1n + 1 are coprime, 251251 must divide one of them, so n250.n \ge 250. For n=250n = 250 the product 250251250 \cdot 251 is not divisible by 4.4. For n=251n = 251 the product 251252251 \cdot 252 is divisible by 4251=1004.4 \cdot 251 = 1004. The smallest such nn is 251.251.

9.

A particle is located on the coordinate plane at (5,0).(5, 0). Define a move for the particle as a counterclockwise rotation of π/4\pi/4 radians about the origin followed by a translation of 1010 units in the positive xx-direction. Given that the particle's position after 150150 moves is (p,q),(p, q), find the greatest integer less than or equal to p+q.|p| + |q|.

Difficulty rating: 2840

Solution:

Identify the plane with the complex plane, so a move sends zz to ωz+10\omega z + 10 with ω=eiπ/4.\omega = e^{i\pi/4}. Starting from z0=5z_0 = 5 and iterating, z150=5ω150+10(ω149+ω148++ω+1).z_{150} = 5\omega^{150} + 10\left(\omega^{149} + \omega^{148} + \cdots + \omega + 1\right).

Since ω8=1\omega^8 = 1 and 150=818+6,150 = 8 \cdot 18 + 6, we get ω150=ω6=i.\omega^{150} = \omega^6 = -i. In the geometric sum, every block of 88 consecutive powers adds to 0,0, so the 150150 terms reduce to 1+ω++ω5=ω6ω7=i(2222i).1 + \omega + \cdots + \omega^5 = -\omega^6 - \omega^7 = i - \left(\frac{\sqrt{2}}{2} - \frac{\sqrt{2}}{2}i\right). Therefore z150=5i+10(22+(1+22)i)=52+(5+52)i.z_{150} = -5i + 10\left(-\frac{\sqrt{2}}{2} + \left(1 + \frac{\sqrt{2}}{2}\right)i\right) = -5\sqrt{2} + \left(5 + 5\sqrt{2}\right)i.

Thus p+q=52+5+52=5+10219.14,|p| + |q| = 5\sqrt{2} + 5 + 5\sqrt{2} = 5 + 10\sqrt{2} \approx 19.14, and the greatest integer less than or equal to this is 19.19.

10.

The diagram below shows a 4×44 \times 4 rectangular array of points, each of which is 11 unit away from its nearest neighbors.

Define a growing path to be a sequence of distinct points of the array with the property that the distance between consecutive points of the sequence is strictly increasing. Let mm be the maximum possible number of points in a growing path, and let rr be the number of growing paths consisting of exactly mm points. Find mr.mr.

Solution:

The squared distance between two points of the array is a2+b2,a^2 + b^2, where aa and bb are the coordinate differences, each in {0,1,2,3}\{0, 1, 2, 3\} and not both zero. The possible values are 1,2,4,5,8,9,10,13,181, 2, 4, 5, 8, 9, 10, 13, 18 — only 99 values — so a growing path has at most 1010 points, and a path with 1010 points must use all nine distances in increasing order. Label its points P1,,P10P_1, \ldots, P_{10} so that P1P2=1P_1 P_2 = 1 and P9P10=18.P_9 P_{10} = \sqrt{18}.

Since 18\sqrt{18} is realized only by opposite corners, there are 44 ordered choices of (P10,P9).(P_{10}, P_9). Next, P8P9=13P_8 P_9 = \sqrt{13} leaves 22 choices for P8,P_8, the two neighbors of P10,P_{10}, symmetric across the main diagonal. From there the distances 10,3,8,5,2,2\sqrt{10}, 3, \sqrt{8}, \sqrt{5}, 2, \sqrt{2} force P7,P6,,P2P_7, P_6, \ldots, P_2 uniquely (for P7P_7 the alternative corner choice fails because the point needed next for P6P_6 would coincide with P9P_9 or P10P_{10}). Finally P1P_1 must be at distance 11 from P2,P_2, and 33 of its neighbors are unused. One of the resulting paths is shown below.

Hence m=10m = 10 and r=423=24,r = 4 \cdot 2 \cdot 3 = 24, so mr=240.mr = 240.

11.

In triangle ABC,ABC, AB=AC=100,AB = AC = 100, and BC=56.BC = 56. Circle PP has radius 1616 and is tangent to AC\overline{AC} and BC.\overline{BC}. Circle QQ is externally tangent to circle PP and is tangent to AB\overline{AB} and BC.\overline{BC}. No point of circle QQ lies outside of ABC.\triangle ABC. The radius of circle QQ can be expressed in the form mnk,m - n\sqrt{k}, where m,m, n,n, and kk are positive integers and kk is the product of distinct primes. Find m+nk.m + nk.

Solution:

Place B=(0,0)B = (0, 0) and C=(56,0);C = (56, 0); the altitude from AA has length 1002282=96,\sqrt{100^2 - 28^2} = 96, so A=(28,96).A = (28, 96). Then sinB=2425,\sin B = \frac{24}{25}, cosB=725,\cos B = \frac{7}{25}, and tanB2=sinB1+cosB=34=tanC2.\tan\frac{B}{2} = \frac{\sin B}{1 + \cos B} = \frac{3}{4} = \tan\frac{C}{2}. A circle of radius rr tangent to BC\overline{BC} and to a slanted side has its center on the bisector from that base vertex, at height rr and horizontal distance rtan(C/2)=4r3\frac{r}{\tan(C/2)} = \frac{4r}{3} from the vertex. Thus P=(56643,16)P = \left(56 - \frac{64}{3},\, 16\right) and Q=(4q3,q),Q = \left(\frac{4q}{3},\, q\right), where qq is the radius of circle Q.Q.

External tangency means PQ=q+16:PQ = q + 16: (1044q3)2+(16q)2=(16+q)2.\left(\frac{104 - 4q}{3}\right)^2 + (16 - q)^2 = (16 + q)^2. Since (16+q)2(16q)2=64q,(16 + q)^2 - (16 - q)^2 = 64q, this becomes (1044q)2=576q,(104 - 4q)^2 = 576q, i.e. (26q)2=36q,(26 - q)^2 = 36q, which simplifies to q288q+676=0,q^2 - 88q + 676 = 0, so q=44±635.q = 44 \pm 6\sqrt{35}.

The root 44+63579.544 + 6\sqrt{35} \approx 79.5 would make circle QQ extend outside the triangle, so q=44635.q = 44 - 6\sqrt{35}. Here m=44,m = 44, n=6,n = 6, and k=35=57,k = 35 = 5 \cdot 7, giving m+nk=44+210=254.m + nk = 44 + 210 = 254.

12.

There are two distinguishable flagpoles, and there are 1919 flags, of which 1010 are identical blue flags, and 99 are identical green flags. Let NN be the number of distinguishable arrangements using all of the flags in which each flagpole has at least one flag and no two green flags on either pole are adjacent. Find the remainder when NN is divided by 1000.1000.

Solution:

Suppose the first pole gets bb blue and gg green flags, the second the remaining 10b10 - b blue and 9g9 - g green. On a pole with bb blue flags, the green flags must occupy distinct gaps among the b+1b + 1 gaps around the blues, in (b+1g)\binom{b+1}{g} ways. Temporarily ignoring the requirement that each pole be nonempty, the total is b=010g=09(b+1g)(11b9g)=b=010(129)=11220=2420,\sum_{b=0}^{10} \sum_{g=0}^{9} \binom{b+1}{g}\binom{11-b}{9-g} = \sum_{b=0}^{10} \binom{12}{9} = 11 \cdot 220 = 2420, where the inner sum collapses by Vandermonde's identity, since (b+1)+(11b)=12.(b + 1) + (11 - b) = 12.

The arrangements that leave a pole empty put all 1919 flags on one pole, in (119)=55\binom{11}{9} = 55 ways for each choice of pole. Hence N=2420255=2310,N = 2420 - 2 \cdot 55 = 2310, and the remainder when NN is divided by 10001000 is 310.310.

13.

A regular hexagon with center at the origin in the complex plane has opposite pairs of sides one unit apart. One pair of sides is parallel to the imaginary axis. Let RR be the region outside the hexagon, and let S={1zzR}.S = \left\{\tfrac{1}{z} \mid z \in R\right\}. Then the area of SS has the form aπ+b,a\pi + \sqrt{b}, where aa and bb are positive integers. Find a+b.a + b.

Difficulty rating: 3370

Solution:

The hexagon's sides lie at distance 12\frac{1}{2} from the origin, with one side on the line Rez=12,\mathrm{Re}\,z = \frac{1}{2}, so RR is the union of the six half-planes obtained by rotating Rez>12\mathrm{Re}\,z \gt \frac{1}{2} by multiples of 60.60^\circ. If w=u+vi=1z,w = u + vi = \frac{1}{z}, then Rez=Re1w=uu2+v2>12\mathrm{Re}\,z = \mathrm{Re}\,\frac{1}{w} = \frac{u}{u^2 + v^2} \gt \frac{1}{2} is equivalent to u2+v2<2u,u^2 + v^2 \lt 2u, i.e. (u1)2+v2<1.(u - 1)^2 + v^2 \lt 1. So each half-plane maps onto an open unit disk, and SS is the union of six unit disks centered at the sixth roots of unity.

Cut the plane into six 6060^\circ wedges by the rays at angles 30+60k;30^\circ + 60^\circ k; by symmetry, within each wedge SS coincides with the disk whose center lies in that wedge. The rays at ±30\pm 30^\circ meet the circle w1=1|w - 1| = 1 at (32,±32),\left(\frac{3}{2}, \pm\frac{\sqrt{3}}{2}\right), so the piece of SS in that wedge consists of two triangles with vertices at 0,0, the center 1,1, and one of these points — each isosceles with two sides 11 and apex angle 120,120^\circ, area 34\frac{\sqrt{3}}{4} — together with the 120120^\circ sector of the disk between them, area π3.\frac{\pi}{3}.

Each wedge therefore contributes π3+32,\frac{\pi}{3} + \frac{\sqrt{3}}{2}, and the total area is 6(π3+32)=2π+33=2π+27.6\left(\frac{\pi}{3} + \frac{\sqrt{3}}{2}\right) = 2\pi + 3\sqrt{3} = 2\pi + \sqrt{27}. Thus a=2,a = 2, b=27,b = 27, and a+b=29.a + b = 29.

14.

Let aa and bb be positive real numbers with ab.a \ge b. Let ρ\rho be the maximum possible value of ab\frac{a}{b} for which the system of equations a2+y2=b2+x2=(ax)2+(by)2a^2 + y^2 = b^2 + x^2 = (a - x)^2 + (b - y)^2 has a solution (x,y)(x, y) satisfying 0x<a0 \le x \lt a and 0y<b.0 \le y \lt b. Then ρ2\rho^2 can be expressed as a fraction mn,\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m+n.m + n.

Solution:

Draw the rectangle with vertices A=(0,0),A = (0, 0), B=(a,0),B = (a, 0), C=(a,b),C = (a, b), D=(0,b),D = (0, b), and let E=(x,0)E = (x, 0) on AB\overline{AB} and F=(a,by)F = (a, b - y) on BC.\overline{BC}. Then DE2=b2+x2,DE^2 = b^2 + x^2, DF2=a2+y2,DF^2 = a^2 + y^2, and EF2=(ax)2+(by)2,EF^2 = (a - x)^2 + (b - y)^2, so the system says exactly that triangle DEFDEF is equilateral, with the constraints keeping EE and FF on those two sides.

Let θ=ADE,\theta = \angle ADE, so x=btanθx = b\tan\theta and DE=bcosθ.DE = \frac{b}{\cos\theta}. Since EDF=60\angle EDF = 60^\circ and the corner angle at DD is 90,90^\circ, we get CDF=30θ,\angle CDF = 30^\circ - \theta, so y=atan(30θ)y = a\tan(30^\circ - \theta) and DF=acos(30θ).DF = \frac{a}{\cos(30^\circ - \theta)}. Setting DE=DFDE = DF gives ab=cos(30θ)cosθ=cos30+sin30tanθ,\frac{a}{b} = \frac{\cos(30^\circ - \theta)}{\cos\theta} = \cos 30^\circ + \sin 30^\circ \tan\theta, which is increasing in θ.\theta. The requirement y0y \ge 0 forces θ30.\theta \le 30^\circ.

The maximum is therefore at θ=30,\theta = 30^\circ, where ab=32+123=23,\frac{a}{b} = \frac{\sqrt{3}}{2} + \frac{1}{2\sqrt{3}} = \frac{2}{\sqrt{3}}, attained with y=0y = 0 and x=b3<a.x = \frac{b}{\sqrt{3}} \lt a. Hence ρ2=43,\rho^2 = \frac{4}{3}, and m+n=4+3=7.m + n = 4 + 3 = 7.

15.

Find the largest integer nn satisfying the following conditions: (i) n2n^2 can be expressed as the difference of two consecutive cubes; (ii) 2n+792n + 79 is a perfect square.

Solution:

Condition (i) says n2=(m+1)3m3=3m2+3m+1n^2 = (m + 1)^3 - m^3 = 3m^2 + 3m + 1 for some integer m.m. Multiplying by 44 and rearranging, 4n21=12m2+12m+3,4n^2 - 1 = 12m^2 + 12m + 3, i.e. (2n1)(2n+1)=3(2m+1)2.(2n - 1)(2n + 1) = 3(2m + 1)^2. The factors on the left are consecutive odd numbers, hence coprime, so one of them is a perfect square and the other is 33 times a square. If 2n1=3k2,2n - 1 = 3k^2, then 2n+12(mod3)2n + 1 \equiv 2 \pmod 3 would be a perfect square, which is impossible. Hence 2n1=k22n - 1 = k^2 with kk odd.

Writing k=2a+1k = 2a + 1 gives n=2a2+2a+1.n = 2a^2 + 2a + 1. Condition (ii) says 2n+79=4a2+4a+81=d2,2n + 79 = 4a^2 + 4a + 81 = d^2, so (d2a1)(d+2a+1)=d2(2a+1)2=80.(d - 2a - 1)(d + 2a + 1) = d^2 - (2a + 1)^2 = 80. The two factors have the same parity, so both are even: the pairs (2,40),(2, 40), (4,20),(4, 20), (8,10)(8, 10) give 2a+1=19,2a + 1 = 19, 8,8, 1,1, of which the odd values yield a=9a = 9 (so n=181n = 181) and a=0a = 0 (so n=1n = 1).

For n=181:n = 181: indeed 1812=32761=10531043181^2 = 32761 = 105^3 - 104^3 (here 2n+1=363=3112,2n + 1 = 363 = 3 \cdot 11^2, as required), and 2n+79=441=212.2n + 79 = 441 = 21^2. So the largest such nn is 181.181.