n has to be odd. If k>=3, mod 8 on both sides, we have 5 = 1 (mod 8), which is wrong. k=1 or 2 leads no solution