0:00:00.640,0:00:04.700 I got this problem here[br]from the 2003 AIME exam. 0:00:04.700,0:00:08.360 That stands for the American[br]Invitational Mathematics Exam. 0:00:08.360,0:00:10.880 And this was actually the[br]first problem in the exam. 0:00:10.880,0:00:17.230 The product N of three positive[br]integers is 6 times their sum, 0:00:17.230,0:00:20.060 and one of the integers is[br]the sum of the other two. 0:00:20.060,0:00:24.080 Find the sum of all[br]possible values of N. 0:00:24.080,0:00:27.380 So we have to deal with[br]three positive integers. 0:00:27.380,0:00:30.650 So we have three positive[br]integers right over here. 0:00:30.650,0:00:33.080 So let's just think about[br]three positive integers. 0:00:33.080,0:00:35.405 Let's call them a, b, and c. 0:00:35.405,0:00:36.280 They're all positive. 0:00:36.280,0:00:37.530 They're all integers. 0:00:37.530,0:00:41.160 The product N of these[br]three positive integers-- 0:00:41.160,0:00:48.030 so a times b times c is equal[br]to N-- is 6 times their sum. 0:00:48.030,0:00:51.110 This is equal to[br]6 times the sum. 0:00:51.110,0:00:52.810 Let me do this in another color. 0:00:52.810,0:00:54.450 So this is their product. 0:00:54.450,0:00:57.690 So the product N of[br]three positive integers 0:00:57.690,0:01:02.050 is 6 times their sum. 0:01:02.050,0:01:05.310 So this is equal to 6[br]times the sum of those 0:01:05.310,0:01:09.510 integers a plus b plus c. 0:01:09.510,0:01:13.020 And one of the integers is[br]the sum of the other two. 0:01:19.950,0:01:23.440 Well, let's just pick c[br]to be the sum of a and b. 0:01:23.440,0:01:24.190 It doesn't matter. 0:01:24.190,0:01:26.600 These are just names, and[br]we haven't said one of them 0:01:26.600,0:01:28.330 is larger or less[br]than the other one. 0:01:28.330,0:01:31.400 So let's just say[br]that a plus b is 0:01:31.400,0:01:33.880 equal to c, that[br]one of the integers 0:01:33.880,0:01:36.990 is the sum of the other two.[br]c is the sum of a plus b. 0:01:36.990,0:01:41.990 Find the sum of all[br]possible values of N. 0:01:41.990,0:01:45.160 So let's just try to do a[br]little bit of manipulation 0:01:45.160,0:01:47.050 of the information we[br]have here, and maybe we 0:01:47.050,0:01:50.146 can get some relationship[br]or some constraints 0:01:50.146,0:01:51.770 on our numbers, and[br]then we can kind of 0:01:51.770,0:01:54.050 go through all of[br]the possibilities. 0:01:54.050,0:01:56.730 So let's see, we know that[br]a plus b is equal to c. 0:01:56.730,0:02:02.360 So we can replace c[br]everywhere with a plus b. 0:02:02.360,0:02:04.110 So this expression[br]right over here 0:02:04.110,0:02:09.130 becomes ab, which is[br]just a times b, times c. 0:02:09.130,0:02:11.780 But instead of c, I'm going to[br]write an a plus b over here. 0:02:15.500,0:02:25.440 And then that is equal to[br]6 times a plus b plus c. 0:02:25.440,0:02:31.360 And so once again, I'll replace[br]with the c with an a plus b, 0:02:31.360,0:02:33.610 and then what does[br]this simplify to? 0:02:33.610,0:02:36.150 So on the right-hand side,[br]we have 6 times a plus b 0:02:36.150,0:02:37.020 plus a plus b. 0:02:37.020,0:02:43.680 This is the same thing[br]as 6 times 2a plus 2b, 0:02:43.680,0:02:45.520 just added the a's and the b's. 0:02:45.520,0:02:46.700 And we can factor out a 2. 0:02:46.700,0:02:49.740 This is the same thing as if[br]you take out a 2, 6 times 2 0:02:49.740,0:02:53.320 is 12 times a plus b. 0:02:53.320,0:02:55.856 The left-hand side[br]right over here 0:02:55.856,0:03:01.720 is still a times b[br]or ab times a plus b. 0:03:01.720,0:03:07.710 So ab times a plus b has got to[br]be equal to 12 times a plus b. 0:03:07.710,0:03:09.430 So this is pretty[br]interesting here. 0:03:09.430,0:03:12.610 We can divide both[br]sides by a plus b. 0:03:12.610,0:03:17.140 We know that a plus b cannot be[br]equal to 0 since all of these 0:03:17.140,0:03:20.940 numbers have to be[br]positive numbers. 0:03:20.940,0:03:24.740 And the reason why I say that[br]is if it was 0, dividing by 0 0:03:24.740,0:03:27.450 would give you an[br]undefined answer. 0:03:27.450,0:03:30.130 So if we divide both[br]sides by a plus b, 0:03:30.130,0:03:34.150 we get a times b is equal to 12. 0:03:34.150,0:03:36.140 So all the constraints[br]that they gave us 0:03:36.140,0:03:38.290 boiled down to this[br]right over here. 0:03:38.290,0:03:41.530 The product of a and[br]b is equal to 12. 0:03:41.530,0:03:43.726 And there's only[br]so many numbers, so 0:03:43.726,0:03:46.100 many positive integers where[br]you if you take the product, 0:03:46.100,0:03:46.950 you get 12. 0:03:46.950,0:03:49.174 Let's try them out. 0:03:49.174,0:03:50.590 So let me write[br]some columns here. 0:03:50.590,0:03:54.290 Let's say a, b, c. 0:03:54.290,0:04:00.070 And then we care[br]about their product, 0:04:00.070,0:04:03.700 so I'll write that[br]over here, so abc. 0:04:03.700,0:04:08.050 So if a is 1, b[br]is going to be 12. 0:04:08.050,0:04:13.530 c is the sum of those two, so[br]c is going to be 13, 1 times 0:04:13.530,0:04:15.380 12 times 13. 0:04:15.380,0:04:21.959 12 times 12 is 144 plus[br]another 12 is going to be 156. 0:04:21.959,0:04:24.620 And just for fun, you[br]can verify that this 0:04:24.620,0:04:27.035 is going to be equal[br]to 6 times their sum. 0:04:27.035,0:04:32.280 Their sum is 26,[br]26 times 6 is 156. 0:04:32.280,0:04:33.530 So this one definitely worked. 0:04:33.530,0:04:34.850 It definitely worked[br]for the constraints. 0:04:34.850,0:04:37.100 And it should because we[br]boiled down those constraints 0:04:37.100,0:04:40.060 to a times b need[br]to be equal to 12. 0:04:40.060,0:04:41.720 So let's try another one. 0:04:41.720,0:04:45.670 2 times 6, their sum is 8. 0:04:45.670,0:04:48.200 And then if I were to take[br]the product of all of these, 0:04:48.200,0:04:52.730 you get 2 times 6[br]is 12 times 8 is 96. 0:04:55.370,0:04:58.830 And then we could try 3 and 4. 0:04:58.830,0:05:01.154 3 plus 4 is 7. 0:05:01.154,0:05:06.705 3 times 4 is 12 times 7. 0:05:06.705,0:05:09.080 Actually, I should have known[br]the a times b is always 12, 0:05:09.080,0:05:11.560 so you just have to multiply[br]12 times this last column. 0:05:11.560,0:05:14.190 12 times 7 is 84. 0:05:17.080,0:05:19.199 And there aren't any others. 0:05:19.199,0:05:21.240 You definitely can't go[br]above 12 because then you 0:05:21.240,0:05:22.580 would have to deal[br]with non-integers. 0:05:22.580,0:05:23.840 You would have to[br]deal with fractions. 0:05:23.840,0:05:25.520 You can't do the negative[br]versions of these 0:05:25.520,0:05:27.436 because they all have[br]to be positive integers. 0:05:27.436,0:05:28.120 So that's it. 0:05:28.120,0:05:30.620 Those are all of the[br]possible positive integers 0:05:30.620,0:05:33.070 where if you take their[br]products you get 12. 0:05:33.070,0:05:35.300 We've essentially[br]just factored 12. 0:05:35.300,0:05:41.620 So they want us to find the sum[br]of all possible values of N. 0:05:41.620,0:05:43.420 Well, these are all[br]the possible values 0:05:43.420,0:05:45.350 of N. N was the product[br]of those integers. 0:05:45.350,0:05:47.920 So let's just take the sum. 0:05:47.920,0:05:52.980 6 plus 6 is 12 plus[br]4 is 16, 1 plus 5 0:05:52.980,0:06:01.740 is 6 plus 9 is 15 plus[br]8 is 23, 2 plus 1 is 3. 0:06:01.740,0:06:04.750 So our answer is 336.