Creating terms that have the value 0

  • Context: MHB 
  • Thread starter Thread starter llijnnasil
  • Start date Start date
  • Tags Tags
    Terms Value
Click For Summary
SUMMARY

The discussion focuses on identifying all natural numbers \( n \) for which the expression formed by placing plus and minus signs between consecutive integers from 4 to \( n \) can equal zero. It is established that acceptable values for \( n \) include all integers of the form \( 4n+3 \) and \( 4n+4 \) where \( n \) is a natural number. The mathematical reasoning involves the sum of integers and modular arithmetic, specifically that \( n(n+1) \) must be a multiple of 4, leading to the conclusion that acceptable \( n \) must satisfy \( n \equiv 0 \pmod{4} \) or \( n \equiv 3 \pmod{4} \).

PREREQUISITES
  • Understanding of basic algebra and integer properties
  • Familiarity with modular arithmetic
  • Knowledge of summation formulas, specifically \( S(n) = \frac{n(n+1)}{2} \)
  • Ability to manipulate expressions with positive and negative signs
NEXT STEPS
  • Study the properties of modular arithmetic in depth
  • Explore integer sequences and their characteristics
  • Learn about combinatorial methods for generating integer sums
  • Investigate the implications of the sum of consecutive integers in algebraic expressions
USEFUL FOR

Mathematicians, educators, students in number theory, and anyone interested in combinatorial mathematics and integer solutions.

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.
 

Similar threads

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