I have to prove the following theorem:
Let $C$ be a ternary linear $[n,2,d]$-code. Prove that $d+ d/3 \leq n$.
Now I don't really see what the best approach for this would be. I was thinking maybe the generator matrix, but I didn't really get anywhere when trying this. Any tips?