That's true. P is adding the first k odd numbers and Q is adding the first k even numbers. Each even number is 1 greater than its corresponding odd number being added. So for k additions, Q will be P+k

The Gateway to Computer Science Excellence

+14 votes

Let $P =\sum_{\substack{1\le i \le 2k \\ i\;odd}} i$ and $Q = \sum_{\substack{1 \le i \le 2k \\ i\;even}} i$, where $k$ is a positive integer. Then

- $P = Q - k$
- $P = Q + k$
- $P = Q$
- $P = Q + 2k$

+22 votes

Best answer

+10 votes

52,345 questions

60,497 answers

201,862 comments

95,319 users