document.write( "Question 1171228: I'm really stuck, please help? Thanks! Here's the question\r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "A prime number is an integer greater than 1 with exactly two different positive factors, 1 and the number itself. There are three children in a family. Each of their ages is a prime number. The sum of their ages is 41 and at least two of the children have ages that differ by 16. Determine all possibilities for the ages of the children. \n" );
document.write( "
Algebra.Com's Answer #796157 by math_tutor2020(3817)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( "Let a,b,c be the ages of the three children. \n" ); document.write( "Since the ages are prime numbers, we can say \n" ); document.write( "a > 1 \n" ); document.write( "b > 1 \n" ); document.write( "c > 1 \n" ); document.write( "which are all integers as well because the definition states \"A prime number is an integer greater than 1\".\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The phrasing \"at least two of the children have ages that differ by 16\" means we have two cases: \n" ); document.write( "Case A) Each child is separated by 16 years from their nearest neighbor \n" ); document.write( "Case B) Only two children are separated by 16 years. The third child is closer than 16 years to one or both of the other siblings.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "For now we'll focus on Case A. \n" ); document.write( "Let's consider the case where each consecutive child is separated by 16 years from their nearest sibling\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "In other words, \n" ); document.write( "gap from youngest to middle = 16 years \n" ); document.write( "gap from middle to oldest = 16 years\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "In terms of algebra, this means: \n" ); document.write( "a = b+16 \n" ); document.write( "b = c+16 \n" ); document.write( "where a > b > c. So 'a' is the oldest, b is the next oldest, and c is the youngest.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Adding those ages gets us \n" ); document.write( "a+b+c = (b+16)+b+c \n" ); document.write( "a+b+c = 2b+c+16 \n" ); document.write( "a+b+c = 2(c+16)+c+16 \n" ); document.write( "a+b+c = 2c+32+c+16 \n" ); document.write( "a+b+c = 3c+48\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Set that equal to 41 and solve for c \n" ); document.write( "3c+48 = 41 \n" ); document.write( "3c+48-48 = 41-48 \n" ); document.write( "3c = -7 \n" ); document.write( "3c/3 = -7/3 \n" ); document.write( "c = -7/3 \n" ); document.write( "We run into trouble. This solution doesn't satisfy c > 1 since it is negative. We don't even get a positive integer, which means even if we ignored the primeness restrictions, it's still not possible to have these three ages add to 41 (such that the gap conditions are set in place for case A).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Therefore, it's not possible to have such a scenario where each adjacent siblings have a gap of 16 years.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We can rule out Case A.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "----------------------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Since Case A has been ruled out, this must mean Case B is true. \n" ); document.write( "So this must mean that exactly 2 children have a gap of 16 years between them.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Without loss of generality, let's say 'a' and b have that 16 year gap. \n" ); document.write( "a = b+16 \n" ); document.write( "where child 'a' is older than child b \n" ); document.write( "So a > b.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Add up the ages \n" ); document.write( "a+b+c = 41 \n" ); document.write( "b+16+b+c = 41 \n" ); document.write( "2b+16+c = 41 \n" ); document.write( "2(b+8)+c = 41\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "In the last equation, the 2(b+8) is even since 2 is a factor. \n" ); document.write( "If c were an even prime, aka c = 2, then 2(b+8)+c would be even as well. \n" ); document.write( "Here's proof of that \n" ); document.write( "2(b+8)+c = 2(b+8)+2 = 2(b+8+1) = 2*(some integer) = even number\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "But, this contradicts 41 on the right hand side being odd.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We must rule out c = 2.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "So we must say that c is an odd prime. In other words, c > 2 is prime. \n" ); document.write( "The list of odd primes less than 41 are: {3,5,7,11,13,17,19,23,29,31,37} \n" ); document.write( "We will plug these items in for c to try to get a & b as primes.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let's say c = 3 \n" ); document.write( "This means, \n" ); document.write( "2(b+8)+c = 41 \n" ); document.write( "2(b+8)+3 = 41 \n" ); document.write( "2(b+8) = 38 \n" ); document.write( "b+8 = 19 \n" ); document.write( "b = 11 \n" ); document.write( "a = b+16 = 11+16 = 27 \n" ); document.write( "While the prime c = 3 does lead to the prime b = 11, we don't get a prime for a = 27 because 27 = 3*9.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "This allows us to rule out c = 3 as well.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let's try c = 5 \n" ); document.write( "2(b+8)+c = 41 \n" ); document.write( "2(b+8)+5 = 41 \n" ); document.write( "2(b+8) = 36 \n" ); document.write( "b+8 = 18 \n" ); document.write( "b = 10 \n" ); document.write( "we don't get a prime for b (because 10 = 2*5), so we stop here and cross c = 5 off the list.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Now try c = 7 \n" ); document.write( "2(b+8)+c = 41 \n" ); document.write( "2(b+8)+7 = 41 \n" ); document.write( "2(b+8) = 34 \n" ); document.write( "b+8 = 17 \n" ); document.write( "b = 9 \n" ); document.write( "This isn't prime either (9 = 3*3). Cross c = 7 off the list.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Now try c = 11 \n" ); document.write( "2(b+8)+c = 41 \n" ); document.write( "2(b+8)+11 = 41 \n" ); document.write( "2(b+8) = 30 \n" ); document.write( "b+8 = 15 \n" ); document.write( "b = 7 so far so good \n" ); document.write( "a = b+16 = 7+16 = 23 this is prime as well \n" ); document.write( "We finally get a,b,c all prime \n" ); document.write( "(a,b,c) = (23,7,11) is one solution. \n" ); document.write( "Any permutation of this list of three items is also a solution. \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "This means there are 3! = 3*2*1 = 6 different orderings of that triple and they are \n" ); document.write( "(a,b,c) = (7,11,23) \n" ); document.write( "(a,b,c) = (7,23,11) \n" ); document.write( "(a,b,c) = (11,7,23) \n" ); document.write( "(a,b,c) = (11,23,7) \n" ); document.write( "(a,b,c) = (23,7,11) \n" ); document.write( "(a,b,c) = (23,11,7)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "For the sake of simplicity, we'll say \n" ); document.write( "I would say \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "So we'll make
\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Note how a = b = c is not possible considering the gap of 16 years. A gap of any nonzero amount of time strongly implies that at least one of the ages must be different. \n" ); document.write( "Also, if a = b = c were possible, then, \n" ); document.write( "a+b+c = 41 \n" ); document.write( "a+a+a = 41 \n" ); document.write( "3a = 41 \n" ); document.write( "a = 41/3 \n" ); document.write( "but that isn't an integer, so it's definitely not prime either. \n" ); document.write( "So again, a = b = c is not possible.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Go back to the solution we found earlier. \n" ); document.write( "Based on \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "youngest = 7 \n" ); document.write( "middle = 11 \n" ); document.write( "oldest = 23 \n" ); document.write( "oldest - youngest = 23-7 = 16 year age gap \n" ); document.write( "The gap from the middle to the youngest is 11-7 = 4 years; while the gap from the middle to the oldest is 23-11 = 12 years. Both of these gaps are not 16 years.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "----------------------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let's keep going with higher c values\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Try c = 13 \n" ); document.write( "2(b+8)+c = 41 \n" ); document.write( "2(b+8)+13 = 41 \n" ); document.write( "2(b+8) = 28 \n" ); document.write( "b+8 = 14 \n" ); document.write( "b = 6 \n" ); document.write( "6 isn't prime (6 = 2*3), so we move on.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Try c = 17 \n" ); document.write( "2(b+8)+c = 41 \n" ); document.write( "2(b+8)+17 = 41 \n" ); document.write( "2(b+8) = 24 \n" ); document.write( "b+8 = 12 \n" ); document.write( "b = 4 \n" ); document.write( "Not prime (4 = 2*2). Moving on.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Try c = 19 \n" ); document.write( "2(b+8)+c = 41 \n" ); document.write( "2(b+8)+19 = 41 \n" ); document.write( "2(b+8) = 22 \n" ); document.write( "b+8 = 11 \n" ); document.write( "b = 3 is prime \n" ); document.write( "a = b+16 = 3+16 = 19 is also prime \n" ); document.write( "We see that a,b,c are all prime. \n" ); document.write( "We get another set of ages possible. \n" ); document.write( "(a,b,c) = (19,3,19)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "If we make \n" ); document.write( "Again a = b = c is not possible.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "So far we have two unique sets of solutions \n" ); document.write( "(a,b,c) = (7,11,23) \n" ); document.write( "(a,b,c) = (3,19,19)\r \n" ); document.write( "\n" ); document.write( "----------------------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "As you can probably guess by now, we still have more c values to try out \n" ); document.write( "Luckily, we're reaching the end.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Try c = 23 \n" ); document.write( "2(b+8)+c = 41 \n" ); document.write( "2(b+8)+23 = 41 \n" ); document.write( "2(b+8) = 18 \n" ); document.write( "b+8 = 9 \n" ); document.write( "b = 1 \n" ); document.write( "1 is not prime since b > 1 needs to be the case.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We can stop here.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Any larger prime c value will lead to 2(b+8)+c = 41 having a solution for b such that b > 1 is false. \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Put another way: c < 23 must be the case for b > 1 to happen \n" ); document.write( "Here's a proof of that \n" ); document.write( "2(b+8)+c = 41 \n" ); document.write( "2(b+8) = 41-c \n" ); document.write( "b+8 = (41-c)/2 \n" ); document.write( "b = (41-c)/2 - 8 \n" ); document.write( "We want b > 1, so, \n" ); document.write( "b > 1 \n" ); document.write( "(41-c)/2 - 8 > 1 \n" ); document.write( "(41-c)/2 > 1+8 \n" ); document.write( "(41-c)/2 > 9 \n" ); document.write( "41-c > 9*2 \n" ); document.write( "41-c > 18 \n" ); document.write( "41 > 18+c \n" ); document.write( "18+c < 41 \n" ); document.write( "c < 41-18 \n" ); document.write( "c < 23 \n" ); document.write( "Therefore, c < 23 is the upper bound. This means we don't have to check any more primes.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "To summarize everything, we let \n" ); document.write( "a = b+16 \n" ); document.write( "to show an age gap of 16 years between children 'a' and b \n" ); document.write( "Then for c, we selected prime values from {3,5,7,11,13,17,19,23,29,31,37} and found that only c = 11 and c = 19 lead to a,b,c being all prime and that a+b+c = 41.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "To help organize all the values, a table might be handy \n" ); document.write( "
\n" ); document.write( "I'm putting c first since we used values of c to generate corresponding b values, which lead to 'a' later on.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "----------------------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Answer: \n" ); document.write( "There are two possible sets of ages \n" ); document.write( "(a,b,c) = (7,11,23) \n" ); document.write( "(a,b,c) = (3,19,19) \n" ); document.write( "where \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "With the first set, we have the youngest (7) and oldest (23) separated by a gap of 16 years. \n" ); document.write( "With the second set, we have two children equal to 19 years of age (but not all three are the same age). \n" ); document.write( "As stated earlier, it is not possible to have all three children spaced out by 16 years. \n" ); document.write( "Finally, a+b+c = 41 for both cases shown above. \n" ); document.write( " \n" ); document.write( " |