MHB Creating terms that have the value 0

  • Thread starter Thread starter llijnnasil
  • Start date Start date
  • Tags Tags
    Terms Value
Click For Summary
The discussion focuses on finding natural numbers n, starting from 4, for which a sequence of integers can be assigned plus or minus signs to yield a total of zero. It is established that numbers of the form 4n+3 and 4n+4 are acceptable, with examples provided for n=7 and n=8. The mathematical reasoning includes the sum of integers from 4 to n and the requirement that n(n+1) must be a multiple of 4. The conclusion is that acceptable numbers are limited to those specific forms, ruling out any others. This analysis provides a comprehensive understanding of the conditions for achieving a sum of zero with the given integers.
llijnnasil
Messages
1
Reaction score
0
Hey, I just found this interesting exercise and I'd like to know how to solve it.

The exercise:
Between the numbers 4, 5, 6, ... , n, you can put minus or plus signs ( - , +) to create
a term.
(n means any natural number) and (the numbers must be in order)

Which possible numbers for n can you put so that the term has the value 0 ?

I've already found a term which has the value 0, but how to find ALL the possible values for n?

example:
4-5-6+7 = 0
so in this example, the value for n is 7.

THANK YOU SO MUCH FOR HELP !
 
Mathematics news on Phys.org
Hi Ilijnnasil,

Welcome to MHB.

Let's say an integer $n \ge 4$ is "acceptable" if there are numbers $a_4, a_5, a_6, \dots , a_n$ where $a_i \in \{-1,1\}$ and $\sum_{i=4}^n a_i \ i = 0$. You have already shown that 7 is acceptable. Another acceptable number is 8, because $1 \cdot 4 + 1 \cdot 5 + 1 \cdot 6 - 1 \cdot 7 - 1 \cdot 8 = 0$.

If $n$ is acceptable, then $n+4$ is also acceptable, because then

$\sum_{i=4}^n a_i \ i + 1 \cdot (n+1) -1 \cdot (n+2) - 1 \cdot (n+3) + 1 \cdot (n+4) = 0$.

So we know all numbers of the form $4n+3$ and $4n+4$ are acceptable, where $n = 1,2,3, \dots $.

Can there be any other acceptable numbers? Well, notice that
$$S(n) = \sum_{i=4}^n i = \frac{n(n+1)}{2} - 6$$
If $n$ is acceptable, then the terms with +1 attached must sum to
$$\frac{1}{2} S_n = \frac{n(n+1)}{4} - 3$$
which must be an integer, so $n(n+1)$ must be a multiple of 4. Now any integer is congruent to one of 0, 1, 2, or 3 modulo 4, and we see that $n(n+1) \equiv 0 \pmod 4$ when n is 0 or 3, and $n(n+1) \equiv 2 \pmod 4$ when n is 1 or 2. So if $n$ is acceptable, we must have $n \equiv 0 \pmod 4$ or $n \equiv 3 \pmod 4$.

This rules out any numbers but $4n+3$ and $4n+4$ for $n = 1,2,3, \dots$,
so that is the complete list of acceptable numbers.
 
I have been insisting to my statistics students that for probabilities, the rule is the number of significant figures is the number of digits past the leading zeros or leading nines. For example to give 4 significant figures for a probability: 0.000001234 and 0.99999991234 are the correct number of decimal places. That way the complementary probability can also be given to the same significant figures ( 0.999998766 and 0.00000008766 respectively). More generally if you have a value that...

Similar threads

Replies
48
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 55 ·
2
Replies
55
Views
6K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 17 ·
Replies
17
Views
28K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K