Recently I encountered a question but its answer as well as the way the author of the book has solved the question seemed wrong to me..
Find the sum of the coefficients of the expansion of
$$ (1+x-3x^2)^{2163} $$
I expanded the expression take it as $(1+(x-3x^2)$ and then I put the $(x-3x^2)$ as 1 thus leaving only the coefficients and hence putting the same values in the expression ( i.e. $ (x-3x^2)=1$) gave the answer as $2^{2163}$ but the answer according to the book is -1. The authors just put x=1 which seems absurd to me. Please help and tell me if am wrong.