Introduction to Graph Theory · Problem 4.2

Digraphs and multidigraphs — Darij Grinberg

Mathematics — Graph Theory · digraph-cycles-number-theory

Problem

Let pp be a prime number. Let (a1,a2,a3,…)(a_1, a_2, a_3, \ldots) be a sequence of integers that is periodic with period pp (that is, that satisfies ai=ai+pa_i = a_{i+p} for each i>0i > 0). Assume that a1+a2+⋯+apa_1 + a_2 + \cdots + a_p is not divisible by pp. Prove that there exists an i∈{1,2,…,p}i \in \{1, 2, \ldots, p\} such that none of the pp numbers ai, ai+ai+1, ai+ai+1+ai+2, …, ai+ai+1+⋯+ai+p−1a_i,\ a_i + a_{i+1},\ a_i + a_{i+1} + a_{i+2},\ \ldots,\ a_i + a_{i+1} + \cdots + a_{i+p-1} (that is, of the pp sums ai+ai+1+⋯+aja_i + a_{i+1} + \cdots + a_j for i≤j<i+pi \leq j < i + p) is divisible by pp. [Remark: This would be false if pp was not prime. For instance, for p=4p = 4, the sequence (0,2,2,2,0,2,2,2,…)(0, 2, 2, 2, 0, 2, 2, 2, \ldots) would be a counterexample.] [Hint: Use Exercise 4.1 (a). What is the digraph, and why does it have a cycle?]

Related theory

Browse the problem library