Difference between revisions of "2018 AMC 8 Problems/Problem 19"

(Problem 19)
(Solution: previous solution was quite poor as it's not immediately obvious why half of all assignments of +/- give a + on top.)
Line 20: Line 20:
  
 
==Solution==
 
==Solution==
 +
Instead of + and -, let us use 1 and 0, respectively. If we let <math>a</math>, <math>b</math>, <math>c</math>, and <math>d</math> be the values of the four cells on the bottom row, then the three cells on the next row are equal to <math>a+b</math>, <math>b+c</math>, and <math>c+d</math> taken modulo 2 (this is exactly the same as finding <math>a \text{ XOR } b</math>, and so on). The two cells on the next row are <math>a+2b+c</math> and <math>b+2c+d</math> taken modulo 2, and lastly, the cell on the top row gets <math>a+3b+3c+d \pmod{2}</math>.
  
There are a total of <math>2^4=16</math> total arrangements for the bottom row, half of which result in a <math>+</math> for the top row, so the answer is <math>\frac{16}{2}=\boxed{\textbf{(C) } 8}</math>
+
Thus, we are looking for the number of assignments of 0's and 1's for <math>a</math>, <math>b</math>, <math>c</math>, <math>d</math> such that <math>a+3b+3c+d \equiv 1 \pmod{2}</math>, or in other words, is odd. As <math>3 \equiv 1 \pmod{2}</math>, this is the same as finding the number of assignments such that <math>a+b+c+d \equiv 1 \pmod{2}</math>. Notice that, no matter what <math>a</math>, <math>b</math>, and <math>c</math> are, this uniquely determines <math>d</math>. There are <math>2^3 = 8</math> ways to assign 0's and 1's arbitrarily to <math>a</math>, <math>b</math>, and <math>c</math>, so the answer is <math>\boxed{\textbf{(C) } 8}</math>.
  
Solution by mathleticguyyy
 
  
 
{{AMC8 box|year=2018|num-b=18|num-a=20}}
 
{{AMC8 box|year=2018|num-b=18|num-a=20}}
  
 
{{MAA Notice}}
 
{{MAA Notice}}

Revision as of 18:33, 21 November 2018

Problem 19

In a sign pyramid a cell gets a "+" if the two cells below it have the same sign, and it gets a "-" if the two cells below it have different signs. The diagram below illustrates a sign pyramid with four levels. How many possible ways are there to fill the four cells in the bottom row to produce a "+" at the top of the pyramid?

[asy] unitsize(2cm); path box = (-0.5,-0.2)--(-0.5,0.2)--(0.5,0.2)--(0.5,-0.2)--cycle; draw(box); label("$+$",(0,0)); draw(shift(1,0)*box); label("$-$",(1,0)); draw(shift(2,0)*box); label("$+$",(2,0)); draw(shift(3,0)*box); label("$-$",(3,0)); draw(shift(0.5,0.4)*box); label("$-$",(0.5,0.4)); draw(shift(1.5,0.4)*box); label("$-$",(1.5,0.4)); draw(shift(2.5,0.4)*box); label("$-$",(2.5,0.4)); draw(shift(1,0.8)*box); label("$+$",(1,0.8)); draw(shift(2,0.8)*box); label("$+$",(2,0.8)); draw(shift(1.5,1.2)*box); label("$+$",(1.5,1.2)); [/asy]

$\textbf{(A) } 2 \qquad \textbf{(B) } 4 \qquad \textbf{(C) } 8 \qquad \textbf{(D) } 12 \qquad \textbf{(E) } 16$

Solution

Instead of + and -, let us use 1 and 0, respectively. If we let $a$, $b$, $c$, and $d$ be the values of the four cells on the bottom row, then the three cells on the next row are equal to $a+b$, $b+c$, and $c+d$ taken modulo 2 (this is exactly the same as finding $a \text{ XOR } b$, and so on). The two cells on the next row are $a+2b+c$ and $b+2c+d$ taken modulo 2, and lastly, the cell on the top row gets $a+3b+3c+d \pmod{2}$.

Thus, we are looking for the number of assignments of 0's and 1's for $a$, $b$, $c$, $d$ such that $a+3b+3c+d \equiv 1 \pmod{2}$, or in other words, is odd. As $3 \equiv 1 \pmod{2}$, this is the same as finding the number of assignments such that $a+b+c+d \equiv 1 \pmod{2}$. Notice that, no matter what $a$, $b$, and $c$ are, this uniquely determines $d$. There are $2^3 = 8$ ways to assign 0's and 1's arbitrarily to $a$, $b$, and $c$, so the answer is $\boxed{\textbf{(C) } 8}$.


2018 AMC 8 (ProblemsAnswer KeyResources)
Preceded by
Problem 18
Followed by
Problem 20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
All AJHSME/AMC 8 Problems and Solutions

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png