# A 2016 Problem

Is it possible for both the sum and product of 2016 integers to be 2016? Note by Mehul Arora
3 years, 9 months ago

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

• Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
• Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
• Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$ ... $$ or $ ... $ to ensure proper formatting.
2 \times 3 $2 \times 3$
2^{34} $2^{34}$
a_{i-1} $a_{i-1}$
\frac{2}{3} $\frac{2}{3}$
\sqrt{2} $\sqrt{2}$
\sum_{i=1}^3 $\sum_{i=1}^3$
\sin \theta $\sin \theta$
\boxed{123} $\boxed{123}$

Sort by:

Answer is yes. Here are the numbers:

$\{ \underbrace{ -1, -1, -1, \ldots, -1}_{\text{504 times}} , \underbrace{ 1, 1, 1, \ldots, 1}_{\text{1510 times}} , 2, 1008 \}$

The trick is to have an even number of (-1)'s so that the product is positive, then we construct a system of equations of the number of (-1)'s and (1)'s that satisfy the conditions.

- 3 years, 9 months ago

Is there like a more "mathematical" solution to it? More like a variable-type solution?

Like, I agree the trick works, but ......

- 3 years, 9 months ago

What do you mean? Are you saying you want me to show my working?

- 3 years, 9 months ago

Very Precisely, yes. I mean, don't get me wrong, but how did you exactly wind up on this solution?

- 3 years, 9 months ago

Okay for starters. Let one of the numbers be 2016. So the product of the remaining numbers must be 1, and the sum of these 2015 remaining numbers is equal to 0, and these numbers must be $\pm \; 1$ only. Let $E$ and $P$ denote the number of $-1$'s and $1$'s, then we have $E + P = 2015$ and $P-E = 0$. Solving these diophantine equation shows that there is no solution.

Now let two of the numbers be 2 and $\frac{2016}2 = 1008$. So the product of the remaining numbers must be 1, and the sum of these 2014 remaining numbers is equal to 0,and these numbers must be $\pm \; 1$ only. Let $E$ and $P$ denote the number of $-1$'s and $1$'s, then we have $E + P = 2014$ and $P-E = 2016-2-1008$. Solving these diophantine equation shows $E = 504, P = 1510$, hence my answer above.

Note that there are more than one answer. Here's another solution:

$\{ -6, \underbrace{-1,-1,-1, \ldots , -1}_{\text{9 times}} ,\underbrace{1,1,1, \ldots , 1}_{\text{2002 times}} , 2, 2,4, 21 \}$

- 3 years, 9 months ago

Oh okay, so basically we show that one solution exists, and that ends the question. Hmm, great :)

Thanks for helping :D

- 3 years, 9 months ago

Came up with the same set. :)

- 3 years, 9 months ago

Hmmm. Are the integers distinct?

- 3 years, 9 months ago

No, that would've been mentioned. :)

- 3 years, 9 months ago

Well, 2016 doesn't have 2016 distinct factors!

- 3 years, 8 months ago

Ahha, certainly. Well noticed.

- 3 years, 8 months ago

@Kunal Jain We have the solution.

- 3 years, 9 months ago

I already knew it the 1 I wrote was 504, (-4), 1 X 1765, (-1) X 249

- 3 years, 9 months ago

- 3 years, 9 months ago

This question was asked at some competition< id on't exactly remember the name.

- 3 years, 9 months ago

Ya, I saw the result.

- 3 years, 9 months ago

"Also, Bro I came third!'. I think by this he meant, coming third doesnt need congratulatios as the paper was super easy :P

- 3 years, 9 months ago

Oh ! So it was in that sense xD

- 3 years, 9 months ago

And btw, Congratulations to u both and Vaibhav for NSTSE.

How was the paper this time?

- 3 years, 9 months ago