Complex Number Roots Sum Problem: (p+q)^2 with Square Roots of ±1 Products

Published on November 1, 2026

Algebra

Find the sum of all possible values of (p+q)^2 where p and q are products of square roots of sequences a_n and b_n taking values 1 or -1, given constraints on their products. The solution uses i^k powers based on counts of -1 terms and yields possible values 2i and -2i.

Question

Answer

풀이
의 개수 중 인 항의 개수를 , 에서 인 항의 개수를 이라 하자.
1. 의 값 구하기
이므로 는 홀수이다. , 이므로
  • 이면
  • 이면
는 부터 까지의 홀수이므로 가 모두 가능하다.
2. 의 값 구하기
이므로 은 짝수이다. 따라서
  • 이면
  • 이면
은 부터 까지의 짝수이므로 이 모두 가능하다.
3. 의 값 구하기
과 은 서로 독립이므로 의 네 가지 조합이 모두 가능하다.
  • :
  • :
  • :
  • :
따라서 가능한 의 값은 , 두 개이다.
최종 답: