MHB Creating terms that have the value 0

  • Thread starter Thread starter llijnnasil
  • Start date Start date
  • Tags Tags
    Terms Value
AI Thread 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.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...

Similar threads

Replies
10
Views
2K
Replies
55
Views
5K
Replies
11
Views
2K
Replies
17
Views
27K
Replies
8
Views
1K
Replies
2
Views
1K
Back
Top