2013 AMC 12A Exam Solutions

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.

Square ABCDABCD has side length 10.10. Point EE is on BC,\overline{BC}, and the area of ABE\triangle ABE is 40.40. What is BE?BE?

44

55

66

77

88

Concepts:triangle arearight triangle

Difficulty rating: 840

Solution:

The legs of right triangle ABEABE are AB=10AB = 10 and BE.BE. From 1210BE=40,\tfrac12\cdot 10\cdot BE = 40, we get BE=8.BE = 8.

Thus, the correct answer is E.

2.

A softball team played ten games, scoring 1,2,3,4,5,6,7,8,9,1, 2, 3, 4, 5, 6, 7, 8, 9, and 1010 runs. They lost by one run in exactly five games. In each of their other games, they scored twice as many runs as their opponent. How many total runs did their opponents score?

3535

4040

4545

5050

5555

Difficulty rating: 1010

Solution:

The team can only score twice as many runs as its opponent when its own score is even. Those games have scores 2,4,6,8,10,2, 4, 6, 8, 10, so their opponents scored 1+2+3+4+5=15.1 + 2 + 3 + 4 + 5 = 15.

The other five games had scores 1,3,5,7,91, 3, 5, 7, 9 and were one-run losses, so their opponents scored 2+4+6+8+10=30.2 + 4 + 6 + 8 + 10 = 30. The total is 15+30=45.15 + 30 = 45.

Thus, the correct answer is C.

3.

A flower bouquet contains pink roses, red roses, pink carnations, and red carnations. One third of the pink flowers are roses, three fourths of the red flowers are carnations, and six tenths of the flowers are pink. What percent of the flowers are carnations?

1515

3030

4040

6060

7070

Difficulty rating: 1100

Solution:

Six tenths of the flowers are pink and four tenths are red. Since two thirds of the pink flowers are carnations, pink carnations make up 23610=410\tfrac{2}{3}\cdot\tfrac{6}{10} = \tfrac{4}{10} of the flowers.

Since three fourths of the red flowers are carnations, red carnations make up 34410=310\tfrac{3}{4}\cdot\tfrac{4}{10} = \tfrac{3}{10} of the flowers. Together the carnations are 410+310=710=70%.\tfrac{4}{10} + \tfrac{3}{10} = \tfrac{7}{10} = 70\%.

Thus, the correct answer is E.

4.

What is the value of 22014+220122201422012?\dfrac{2^{2014} + 2^{2012}}{2^{2014} - 2^{2012}}?

1-1

11

53\dfrac{5}{3}

20132013

240242^{4024}

Difficulty rating: 1130

Solution:

Factoring 220122^{2012} from each term gives 22012(22+1)22012(221)=4+141=53. \dfrac{2^{2012}(2^2 + 1)}{2^{2012}(2^2 - 1)} = \dfrac{4 + 1}{4 - 1} = \dfrac{5}{3}.

Thus, the correct answer is C.

5.

Tom, Dorothy, and Sammy went on a vacation and agreed to split the costs evenly. During their trip Tom paid $105, Dorothy paid $125, and Sammy paid $175. In order to share the costs equally, Tom gave Sammy tt dollars, and Dorothy gave Sammy dd dollars. What is td?t - d?

1515

2020

2525

3030

3535

Difficulty rating: 1130

Solution:

The total spent was 105+125+175=405,105 + 125 + 175 = 405, so each fair share is 13405=135\tfrac13\cdot 405 = 135 dollars.

Then t=135105=30t = 135 - 105 = 30 and d=135125=10,d = 135 - 125 = 10, so td=3010=20.t - d = 30 - 10 = 20.

Thus, the correct answer is B.

6.

In a recent basketball game, Shenille attempted only three-point shots and two-point shots. She was successful on 20%20\% of her three-point shots and 30%30\% of her two-point shots. Shenille attempted 3030 shots. How many points did she score?

1212

1818

2424

3030

3636

Difficulty rating: 1250

Solution:

If Shenille attempted xx three-point shots and 30x30 - x two-point shots, she scored 0.23x+0.32(30x)=0.6x+0.6(30x)=0.630=18 0.2\cdot 3\cdot x + 0.3\cdot 2\cdot(30 - x) = 0.6x + 0.6(30 - x) = 0.6\cdot 30 = 18 points.

Thus, the correct answer is B.

7.

The sequence S1,S2,S3,,S10S_1, S_2, S_3, \ldots, S_{10} has the property that every term beginning with the third is the sum of the previous two. That is, Sn=Sn2+Sn1 for n3.S_n = S_{n-2} + S_{n-1} \text{ for } n \ge 3. Suppose that S9=110S_9 = 110 and S7=42.S_7 = 42. What is S4?S_4?

44

66

1010

1212

1616

Difficulty rating: 1270

Solution:

Since S9=S7+S8,S_9 = S_7 + S_8, we get S8=11042=68.S_8 = 110 - 42 = 68. Then S6=S8S7=6842=26,S_6 = S_8 - S_7 = 68 - 42 = 26, S5=S7S6=4226=16,S_5 = S_7 - S_6 = 42 - 26 = 16, and S4=S6S5=2616=10.S_4 = S_6 - S_5 = 26 - 16 = 10.

Thus, the correct answer is C.

8.

Given that xx and yy are distinct nonzero real numbers such that x+2x=y+2y,x + \dfrac{2}{x} = y + \dfrac{2}{y}, what is xy?xy?

14\dfrac{1}{4}

12\dfrac{1}{2}

11

22

44

Difficulty rating: 1400

Solution:

Multiplying by xyxy gives x2y+2y=xy2+2x,x^2 y + 2y = xy^2 + 2x, so x2yxy22x+2y=(xy)(xy2)=0. x^2 y - xy^2 - 2x + 2y = (x - y)(xy - 2) = 0.

Since xy,x \ne y, it follows that xy=2.xy = 2.

Thus, the correct answer is D.

9.

In ABC,\triangle ABC, AB=AC=28AB = AC = 28 and BC=20.BC = 20. Points D,D, E,E, and FF are on sides AB,\overline{AB}, BC,\overline{BC}, and AC,\overline{AC}, respectively, such that DE\overline{DE} and EF\overline{EF} are parallel to AC\overline{AC} and AB,\overline{AB}, respectively. What is the perimeter of parallelogram ADEF?ADEF?

4848

5252

5656

6060

7272

Difficulty rating: 1460

Solution:

Because EFAB,EF \parallel AB, triangle FECFEC is similar to triangle ABC,ABC, which is isosceles, so FE=FC.FE = FC.

Half the perimeter of parallelogram ADEFADEF is AF+FE=AF+FC=AC=28.AF + FE = AF + FC = AC = 28. The entire perimeter is 56.56.

Thus, the correct answer is C.

10.

Let SS be the set of positive integers nn for which 1n\dfrac{1}{n} has the repeating decimal representation 0.ab=0.ababab,0.\overline{ab} = 0.ababab\ldots, with aa and bb different digits. What is the sum of the elements of S?S?

1111

4444

110110

143143

155155

Difficulty rating: 1510

Solution:

If 1n=0.ab,\dfrac{1}{n} = 0.\overline{ab}, then 99n=ab,\dfrac{99}{n} = \overline{ab}, a two-digit number. The positive divisors of 9999 are 1,3,9,11,33,99.1, 3, 9, 11, 33, 99.

Only n=11,33,99n = 11, 33, 99 make 99n\dfrac{99}{n} equal to 09,03,01,09, 03, 01, which have two different digits. The requested sum is 11+33+99=143.11 + 33 + 99 = 143.

Thus, the correct answer is D.

11.

Triangle ABCABC is equilateral with AB=1.AB = 1. Points EE and GG are on AC\overline{AC} and points DD and FF are on AB\overline{AB} such that both DE\overline{DE} and FG\overline{FG} are parallel to BC.\overline{BC}. Furthermore, triangle ADEADE and trapezoids DFGEDFGE and FBCGFBCG all have the same perimeter. What is DE+FG?DE + FG?

11

32\dfrac{3}{2}

2113\dfrac{21}{13}

138\dfrac{13}{8}

53\dfrac{5}{3}

Solution:

Let x=DEx = DE and y=FG.y = FG. The parallel cuts make the small regions equilateral or isosceles trapezoids, so the perimeters are ADE:3x,DFGE:3yx,FBCG:3y. \triangle ADE: 3x, \quad DFGE: 3y - x, \quad FBCG: 3 - y.

Setting them equal, 3x=3yx3x = 3y - x gives 4x=3y,4x = 3y, and 3x=3y.3x = 3 - y. Solving yields x=913x = \tfrac{9}{13} and y=1213,y = \tfrac{12}{13}, so DE+FG=2113.DE + FG = \tfrac{21}{13}.

Thus, the correct answer is C.

12.

The angles in a particular triangle are in arithmetic progression, and the side lengths are 4,5,4, 5, and x.x. The sum of the possible values of xx equals a+b+c,a + \sqrt{b} + \sqrt{c}, where a,b,a, b, and cc are positive integers. What is a+b+c?a + b + c?

3636

3838

4040

4242

4444

Difficulty rating: 1740

Solution:

If the angles are αδ,α,α+δ,\alpha - \delta, \alpha, \alpha + \delta, their sum 3α=1803\alpha = 180^\circ gives α=60,\alpha = 60^\circ, so one angle is 60.60^\circ.

If xx is opposite the 6060^\circ angle, the Law of Cosines gives x2=42+52245cos60=21, x^2 = 4^2 + 5^2 - 2\cdot 4\cdot 5\cos 60^\circ = 21, so x=21.x = \sqrt{21}.

If 55 is opposite the 6060^\circ angle, then 25=x24x+16,25 = x^2 - 4x + 16, whose positive solution is x=2+13.x = 2 + \sqrt{13}. If 44 is opposite, then 16=x25x+2516 = x^2 - 5x + 25 has no real solution.

The sum of the possible values is 2+13+21,2 + \sqrt{13} + \sqrt{21}, so a+b+c=2+13+21=36.a + b + c = 2 + 13 + 21 = 36.

Thus, the correct answer is A.

13.

Let points A=(0,0),A = (0, 0), B=(1,2),B = (1, 2), C=(3,3),C = (3, 3), and D=(4,0).D = (4, 0). Quadrilateral ABCDABCD is cut into equal area pieces by a line passing through A.A. This line intersects CD\overline{CD} at point (pq,rs),\left(\dfrac{p}{q}, \dfrac{r}{s}\right), where these fractions are in lowest terms. What is p+q+r+s?p + q + r + s?

5454

5858

6262

7070

7575

Difficulty rating: 1740

Solution:

By the shoelace formula, the area of ABCDABCD is 152.\tfrac{15}{2}. Let the line meet CD\overline{CD} at G.G. Triangle ADGADG must have area 154.\tfrac{15}{4}.

Since AD=4AD = 4 lies on the xx-axis, 124yG=154\tfrac12\cdot 4\cdot y_G = \tfrac{15}{4} gives yG=158.y_G = \tfrac{15}{8}. Line CDCD is y=3(x4),y = -3(x - 4), so xG=278.x_G = \tfrac{27}{8}.

Then p+q+r+s=27+8+15+8=58.p + q + r + s = 27 + 8 + 15 + 8 = 58.

Thus, the correct answer is B.

14.

The sequence log12162, log12x, log12y, log12z, log121250\log_{12} 162, \ \log_{12} x, \ \log_{12} y, \ \log_{12} z, \ \log_{12} 1250 is an arithmetic progression. What is x?x?

1253125\sqrt{3}

270270

1625162\sqrt{5}

434434

2256225\sqrt{6}

Difficulty rating: 1800

Solution:

Because the logarithms are in arithmetic progression, 162,x,y,z,1250162, x, y, z, 1250 is a geometric sequence. Its common ratio rr satisfies 162r4=1250,162 r^4 = 1250, so r4=62581r^4 = \tfrac{625}{81} and r=53.r = \tfrac53.

Therefore x=16253=270.x = 162\cdot\tfrac53 = 270.

Thus, the correct answer is B.

15.

Rabbits Peter and Pauline have three offspring—Flopsie, Mopsie, and Cottontail. These five rabbits are to be distributed to four different pet stores so that no store gets both a parent and a child. It is not required that every store gets a rabbit. In how many different ways can this be done?

9696

108108

156156

204204

372372

Difficulty rating: 1880

Solution:

If the two parents share a store, there are 44 choices for it, and each child must go to one of the other three stores: 433=1084\cdot 3^3 = 108 ways.

If the parents go to different stores, there are 43=124\cdot 3 = 12 choices, and each child must go to one of the two remaining stores: 1223=9612\cdot 2^3 = 96 ways.

The total is 108+96=204.108 + 96 = 204.

Thus, the correct answer is D.

16.

A,A, B,B, and CC are three piles of rocks. The mean weight of the rocks in AA is 4040 pounds, the mean weight of the rocks in BB is 5050 pounds, the mean weight of the rocks in the combined piles AA and BB is 4343 pounds, and the mean weight of the rocks in the combined piles AA and CC is 4444 pounds. What is the greatest possible integer value for the mean in pounds of the rocks in the combined piles BB and C?C?

5555

5656

5757

5858

5959

Difficulty rating: 1980

Solution:

Let a,b,ca, b, c be the numbers of rocks in the piles. From 40a+50ba+b=43,\dfrac{40a + 50b}{a + b} = 43, we get 7b=3a,7b = 3a, so a=7ka = 7k and b=3k.b = 3k.

Let μBC\mu_{BC} be the mean of BB and C.C. Using the A,CA, C mean 4444 to express μC=28k+44cc,\mu_C = \dfrac{28k + 44c}{c}, we find μBC=178k+44c3k+c,\mu_{BC} = \dfrac{178k + 44c}{3k + c}, so (μBC44)c=(1783μBC)k.(\mu_{BC} - 44)c = (178 - 3\mu_{BC})k.

Since BB is heavier than A,A, the mean of BB and CC exceeds 44,44, forcing 1783μBC>0,178 - 3\mu_{BC} \gt 0, i.e. μBC<1783=5913.\mu_{BC} \lt \tfrac{178}{3} = 59\tfrac13. The value 5959 is attainable, so the greatest integer mean is 59.59.

Thus, the correct answer is E.

17.

A group of 1212 pirates agree to divide a treasure chest of gold coins among themselves as follows. The kkth pirate to take a share takes k12\dfrac{k}{12} of the coins that remain in the chest. The number of coins initially in the chest is the smallest number for which this arrangement will allow each pirate to receive a positive whole number of coins. How many coins does the 1212th pirate receive?

720720

12961296

17281728

19251925

38503850

Difficulty rating: 2050

Solution:

For 1k11,1 \le k \le 11, the number of coins before the kkth pirate takes a share is 1212k\dfrac{12}{12 - k} times the number afterward. So if nn coins are left for the 1212th pirate, the initial count is 1211n11!=21437n52711. \dfrac{12^{11}\, n}{11!} = \dfrac{2^{14}\cdot 3^{7}\, n}{5^2\cdot 7\cdot 11}.

The smallest nn making this a positive integer is 52711=1925,5^2\cdot 7\cdot 11 = 1925, and one checks each earlier pirate then receives a whole number of coins. The 1212th pirate receives 19251925 coins.

Thus, the correct answer is D.

18.

Six spheres of radius 11 are positioned so that their centers are at the vertices of a regular hexagon of side length 2.2. The six spheres are internally tangent to a larger sphere whose center is the center of the hexagon. An eighth sphere is externally tangent to the six smaller spheres and internally tangent to the larger sphere. What is the radius of this eighth sphere?

2\sqrt{2}

32\dfrac{3}{2}

53\dfrac{5}{3}

3\sqrt{3}

22

Difficulty rating: 2100

Solution:

Each small center is 22 from the center O,O, and the small spheres have radius 1,1, so the large sphere has radius 3.3. Let the eighth sphere have radius rr and center GG at distance xx from O;O; then x+r=3.x + r = 3.

Since GG is equidistant from two opposite hexagon vertices, GOGO is perpendicular to the line to a vertex, and the Pythagorean Theorem gives (r+1)2=22+x2=4+(3r)2. (r + 1)^2 = 2^2 + x^2 = 4 + (3 - r)^2.

This simplifies to 2r+1=136r,2r + 1 = 13 - 6r, so r=32.r = \tfrac32.

Thus, the correct answer is B.

19.

In ABC,\triangle ABC, AB=86,AB = 86, and AC=97.AC = 97. A circle with center AA and radius ABAB intersects BC\overline{BC} at points BB and X.X. Moreover BX\overline{BX} and CX\overline{CX} have integer lengths. What is BC?BC?

1111

2828

3333

6161

7272

Difficulty rating: 2200

Solution:

By the Power of a Point Theorem, BCCX=AC2AB2BC\cdot CX = AC^2 - AB^2 where ABAB is the radius. Thus BCCX=972862=2013.BC\cdot CX = 97^2 - 86^2 = 2013.

Since BC=BX+CXBC = BX + CX and CXCX are integers, they are complementary factors of 2013=31161.2013 = 3\cdot 11\cdot 61. As CX<BC<AB+AC=183,CX \lt BC \lt AB + AC = 183, the only possibility is CX=33CX = 33 and BC=61.BC = 61.

Thus, the correct answer is D.

20.

Let SS be the set {1,2,3,,19}.\{1, 2, 3, \ldots, 19\}. For a,bS,a, b \in S, define aba \succ b to mean that either 0<ab90 \lt a - b \le 9 or ba>9.b - a \gt 9. How many ordered triples (x,y,z)(x, y, z) of elements of SS have the property that xy,x \succ y, yz,y \succ z, and zx?z \succ x?

810810

855855

900900

950950

988988

Difficulty rating: 2220

Solution:

Reading the elements modulo 19,19, the relation aba \succ b holds exactly when 0<(ab)mod199.0 \lt (a - b) \bmod 19 \le 9.

There are 1919 choices for x.x. Once xx is fixed, take y=x+iy = x + i for some 1i9.1 \le i \le 9. Then zz must satisfy x+10zx+9+i,x + 10 \le z \le x + 9 + i, giving ii choices.

The total is 19(1+2++9)=1945=855.19(1 + 2 + \cdots + 9) = 19\cdot 45 = 855.

Thus, the correct answer is B.

21.

Consider A=log(2013+log(2012+log(2011+log(+log(3+log2))))).A = \log(2013 + \log(2012 + \log(2011 + \log(\cdots + \log(3 + \log 2)\cdots)))).

Which of the following intervals contains A?A?

(log2016,log2017)(\log 2016, \log 2017)

(log2017,log2018)(\log 2017, \log 2018)

(log2018,log2019)(\log 2018, \log 2019)

(log2019,log2020)(\log 2019, \log 2020)

(log2020,log2021)(\log 2020, \log 2021)

Difficulty rating: 2210

Solution:

Let An=log(n+log((n1)++log(3+log2))).A_n = \log(n + \log((n-1) + \cdots + \log(3 + \log 2)\cdots)). One checks 0<An<10 \lt A_n \lt 1 for 2n9,2 \le n \le 9, then 1<An<21 \lt A_n \lt 2 for 10n98,10 \le n \le 98, then 2<An<32 \lt A_n \lt 3 for 99n997,99 \le n \le 997, and 3<An<43 \lt A_n \lt 4 for 998n9996.998 \le n \le 9996.

Hence 3<A2012<4,3 \lt A_{2012} \lt 4, so 2016<2013+A2012<20172016 \lt 2013 + A_{2012} \lt 2017 and therefore log2016<A<log2017.\log 2016 \lt A \lt \log 2017.

Thus, the correct answer is A.

22.

A palindrome is a nonnegative integer number that reads the same forwards and backwards when written in base 1010 with no leading zeros. A 66-digit palindrome nn is chosen uniformly at random. What is the probability that n11\dfrac{n}{11} is also a palindrome?

825\dfrac{8}{25}

33100\dfrac{33}{100}

720\dfrac{7}{20}

925\dfrac{9}{25}

1130\dfrac{11}{30}

Difficulty rating: 2440

Solution:

Let m=n11.m = \dfrac{n}{11}. A 44-digit mm leads to a contradiction, so mm is a 55-digit palindrome abcba.\overline{abcba}.

Writing n=11m,n = 11m, there are no carries exactly when a+b9a + b \le 9 and b+c9,b + c \le 9, and only then is nn a palindrome. The number of valid mm is b=09(10b)(9b)=330. \sum_{b=0}^{9}(10 - b)(9 - b) = 330.

There are 9102=9009\cdot 10^2 = 900 six-digit palindromes, so the probability is 330900=1130.\dfrac{330}{900} = \dfrac{11}{30}.

Thus, the correct answer is E.

23.

ABCDABCD is a square of side length 3+1.\sqrt{3} + 1. Point PP is on AC\overline{AC} such that AP=2.AP = \sqrt{2}. The square region bounded by ABCDABCD is rotated 9090^\circ counterclockwise with center P,P, sweeping out a region whose area is 1c(aπ+b),\dfrac{1}{c}(a\pi + b), where a,b,a, b, and cc are positive integers and gcd(a,b,c)=1.\gcd(a, b, c) = 1. What is a+b+c?a + b + c?

1515

1717

1919

2121

2323

Difficulty rating: 2520

Solution:

Let A,B,C,DA', B', C', D' be the images of the vertices under the rotation. The swept region decomposes into four circular sectors and four triangles.

Since AP=2AP = \sqrt{2} and PC=ACAP=6,PC = AC - AP = \sqrt{6}, the sectors at AA and CC have areas π2\tfrac{\pi}{2} and 3π2.\tfrac{3\pi}{2}. One finds PB=2,PB = 2, so the two 6060^\circ sectors along BCBC each have area 2π3.\tfrac{2\pi}{3}. The four triangles together contribute (31)+(33)=2.(\sqrt{3} - 1) + (3 - \sqrt{3}) = 2.

The total area is π2+3π2+22π3+2=10π+63, \dfrac{\pi}{2} + \dfrac{3\pi}{2} + 2\cdot\dfrac{2\pi}{3} + 2 = \dfrac{10\pi + 6}{3}, so a+b+c=10+6+3=19.a + b + c = 10 + 6 + 3 = 19.

Thus, the correct answer is C.

24.

Three distinct segments are chosen at random among the segments whose endpoints are the vertices of a regular 1212-gon. What is the probability that the lengths of these three segments are the three side lengths of a triangle with positive area?

553715\dfrac{553}{715}

443572\dfrac{443}{572}

111143\dfrac{111}{143}

81104\dfrac{81}{104}

223286\dfrac{223}{286}

Solution:

Inscribe the 1212-gon in a unit circle. The segment lengths are dk=2sin(15k)d_k = 2\sin(15k^\circ) for 1k6,1 \le k \le 6, with 1212 segments of each length d1,,d5d_1, \ldots, d_5 and 66 of length d6.d_6.

Comparing sums, the forbidden index triples (a,b,c)(a, b, c) with dadbdcd_a \le d_b \le d_c and dcda+dbd_c \ge d_a + d_b are (1,1,3),(1,1,4),(1,1,5),(1,1,6),(1,2,4),(1,2,5),(1,2,6),(1,3,5),(1,3,6),(2,2,6). (1,1,3),(1,1,4),(1,1,5),(1,1,6),(1,2,4),(1,2,5),(1,2,6),(1,3,5),(1,3,6),(2,2,6).

Counting the corresponding segment selections and dividing by (663)\binom{66}{3} gives a failure probability of 63286,\dfrac{63}{286}, so the answer is 163286=223286.1 - \dfrac{63}{286} = \dfrac{223}{286}.

Thus, the correct answer is E.

25.

Let f:CCf : \mathbb{C} \to \mathbb{C} be defined by f(z)=z2+iz+1.f(z) = z^2 + iz + 1. How many complex numbers zz are there such that Im(z)>0\operatorname{Im}(z) \gt 0 and both the real and the imaginary parts of f(z)f(z) are integers with absolute value at most 10?10?

399399

401401

413413

431431

441441

Difficulty rating: 2790

Solution:

On the upper half-plane H,H, if f(z1)=f(z2)f(z_1) = f(z_2) then (z1z2)(z1+z2+i)=0;(z_1 - z_2)(z_1 + z_2 + i) = 0; since Im(z1),Im(z2)>0,\operatorname{Im}(z_1), \operatorname{Im}(z_2) \gt 0, the factor z1+z2+i0,z_1 + z_2 + i \ne 0, so ff is one-to-one on H.H.

The image is f(H)={w:Re(w)<(Im(w))2+1}.f(H) = \{w : \operatorname{Re}(w) \lt (\operatorname{Im}(w))^2 + 1\}. Thus we count w=a+ibw = a + ib with a,bZ,a, b \in \mathbb{Z}, a,b10,|a|, |b| \le 10, and a<b2+1:a \lt b^2 + 1: S=212b=33(10b2)=44142=399. |S| = 21^2 - \sum_{b=-3}^{3}(10 - b^2) = 441 - 42 = 399.

Thus, the correct answer is A.