Guess the signal
Guess $ x[n]\, $
Properties
1. period of the function is 3
2. $ \sum_{n=0}^{2}x[n]=4 $
3. $ \,a_k=a_{k+2} $
4. $ x[n]\, $ has a minimum power among all signals that satisfy rules 1-3
Derivations
1.
Given that the definition of a signal defined by fourier transforms is shown like:
$ x[n]=\sum_{N=0}^{N-1}a_k e^{-jk \frac {2\pi}{\omega_0} n} $
We know that our answer must be in the form of:
$ x[n]=\sum_{N=0}^{2}a_k e^{-jk \frac {2\pi}{3} n} $
2.
We know that our $ a_k\, $ values are defined as
$ a_k=\frac{1}{N}\sum_{N=0}^{N-1}x[n] e^{-jk \frac {2\pi}{\omega_0} n} $
so:
$ a_0=\frac{1}{3}\sum_{N=0}^{2}x[n] e^{0}=\frac{4}{3} $
3.
If $ \,a_k=a_{k+2} $, then
$ \,a_0=a_2 $
4.
We minimize the other values, so $ \,a_1=0 $
Final Answer
We still have to compute the sum, so we have $ \,x[0] $ and $ \,x[1] $, now get $ \,x[2] $
$ x[2]=\frac{4}{3}e^{-jk*2*\frac{2\pi }{3}} $
So summing them makes:
$ x[n]=\frac{4}{3}+\frac{4}{3}e^{-jk\frac{4\pi }{3} n} $