MHB Divisibility Problem: Prove Existence of $i,j$

  • Thread starter Thread starter qamaz
  • Start date Start date
  • Tags Tags
    Divisibility
Click For Summary
The discussion centers on proving the existence of indices \(i\) and \(j\) such that the sum of a sequence of integers \( (a_1, a_2, \ldots, a_n) \) is divisible by \(n\). A suggested approach involves defining \(b_j = \sum_{k=1}^j a_k\) and applying the pigeonhole principle to the remainders of \(b_j\) when divided by \(n\). The concept of \(\mathbb{Z}^n\) is clarified as the set of all ordered \(n\)-tuples of integers. The discussion emphasizes the importance of understanding these mathematical constructs to solve the divisibility problem. Ultimately, the existence of such indices is guaranteed by these principles.
qamaz
Messages
3
Reaction score
0
$$\text{ Let } n∈N \text{ and } (a1,a2,…,a_{n})∈\mathbb{Z}^{n}.

\text{ Prove that always exist } i,j∈ \underline{n} \text{ with } i≤j \text{ so }

\sum\limits_{k=i}^{\\j} a_{k} \text{ divisible by n} .$$
 
Last edited:
Physics news on Phys.org
Hi, and welcome to the forum!

Hint: Consider $$b_j=\sum_{k=1}^ja_k$$, $j=1,\ldots,n$ and apply the pigeonhole principle to remainders when $b_j$ are divided by $n$.
 
What is the meaning of $$\mathbb{Z}^{n}$$?
 
$$\mathbb{Z}$$ denotes the set of integers. If $A$ and $B$ are sets, $A\times B$ denotes the set of all ordered pairs, where the first element comes from $A$ and the second one comes from $B$. More generally, $A_1\times \dots\times A_n$ denotes the set of all $n$-tuples, i.e., of ordered sequences of length $n$, where the $i$th element comes from $A_i$ for $i=1,\ldots,n$. Finally, $A^n=A\times\dots\times A$ ($n$ times). Thus, $$(a_1,\ldots,a_n)\in\mathbb{Z}^n$$ means that all $a_i$ are integers.
 
There is a nice little variation of the problem. The host says, after you have chosen the door, that you can change your guess, but to sweeten the deal, he says you can choose the two other doors, if you wish. This proposition is a no brainer, however before you are quick enough to accept it, the host opens one of the two doors and it is empty. In this version you really want to change your pick, but at the same time ask yourself is the host impartial and does that change anything. The host...

Similar threads

Replies
29
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 21 ·
Replies
21
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K