I was trying to prove by induction that
n=0∑k(−1)n={1, if k is even0, if k is odd.....editedI distinguished two cases, k even and k odd. Now I had a doubt: in induction, we prove that a property holds for a certain non negative integer n0, assume it holds for n≥n0 with n non negative integer and shows that this assumption implies that it holds for n+1; we conclude that the property holds for any n≥n0.
However, if I assume k even, it works for k=0 but when I have to prove that it works for k+1 I get that, since k is even, is odd and hence I can't prove that this holds for all even k because I am proving it for an odd number. So, intuitively I get that I must show that, for instance, it holds for an even k0, assume it holds for a generic even k and show that this implies it holds for the next even number k+2. And this works, similarly it works for the odd case. The question is: why the standard induction definition seems not to work here, that is, the one replacing n with n+1? I thought that I can write an even number k=2m with m non negative integer and use "classical" induction with m+1, but I should work on k and not on m. What is happening here?
n=0∑k(−1)n={1, if k is even0, if k is odd.....editedI distinguished two cases, k even and k odd. Now I had a doubt: in induction, we prove that a property holds for a certain non negative integer n0, assume it holds for n≥n0 with n non negative integer and shows that this assumption implies that it holds for n+1; we conclude that the property holds for any n≥n0.
However, if I assume k even, it works for k=0 but when I have to prove that it works for k+1 I get that, since k is even, is odd and hence I can't prove that this holds for all even k because I am proving it for an odd number. So, intuitively I get that I must show that, for instance, it holds for an even k0, assume it holds for a generic even k and show that this implies it holds for the next even number k+2. And this works, similarly it works for the odd case. The question is: why the standard induction definition seems not to work here, that is, the one replacing n with n+1? I thought that I can write an even number k=2m with m non negative integer and use "classical" induction with m+1, but I should work on k and not on m. What is happening here?