How many nonnegative integers can be written in the form a 7 ⋅ 3 7 + a 6 ⋅ 3 6 + a 5 ⋅ 3 5 + a 4 ⋅ 3 4 + a 3 ⋅ 3 3 + a 2 ⋅ 3 2 + a 1 ⋅ 3 1 + a 0 ⋅ 3 0 , where a i ∈ { − 1 , 0 , 1 } for 0 ≤ i ≤ 7 ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We subtracted 1 because 0 is neither a positive or negative number.
Problem Loading...
Note Loading...
Set Loading...
For every representation of a 7 ⋅ 3 7 + a 6 ⋅ 3 6 + a 5 ⋅ 3 5 + a 4 ⋅ 3 4 + a 3 ⋅ 3 3 + a 2 ⋅ 3 2 + a 1 ⋅ 3 1 + a 0 ⋅ 3 0 . that equals a positive number x . There is always a representation that equals − x . Just times our initial representation of a 7 ⋅ 3 7 + a 6 ⋅ 3 6 + a 5 ⋅ 3 5 + a 4 ⋅ 3 4 + a 3 ⋅ 3 3 + a 2 ⋅ 3 2 + a 1 ⋅ 3 1 + a 0 ⋅ 3 0 that equals positive number x by -1. Thus, #(positive representations) = #(negative representations). Since each a i can have 3 choices of numbers.The answer is ( ( 3 8 − 1 ) / 2 ) + 1