1 Introduction

1.1 Historical Note

While graph theory was born in 1736, when Leonard Euler solved the Königsberg’s Seven Bridges Problem [12], the history of graph colouring started in 1852, when the South African mathematician and botanist Francis Guthrie formulated the Four Colour Problem [19, 23, 36, 37]. Francis Guthrie noticed that, when colouring a map of the counties of England, one needed at least four distinct colours if two regions sharing a common border could not have the same colour. Moreover, he conjectured (and tried to prove) that four colours were sufficient to colour any map in this way. His brother, Frederick Guthrie, supported him by sharing his work with Augustus De Morgan, of whom he was a student at the time, and De Morgan immediately showed his interest for the problem [16]. On October 23, 1852, De Morgan presented Francis Guthrie’s conjecture in a letter to Sir William Rowan Hamilton, in which he wrote:

The more I think of it the more evident it seems.

But Hamilton replied:

I am not likely to attempt your quaternion of colour very soon.

De Morgan then tried to get other mathematicians interested in the conjecture, and it eventually became one of the most famous open problems in graph theory and mathematics for more than a century. After several failed attempts in solving the problem, Francis Guthrie’s conjecture was proved to be true in 1976, by Kenneth Appel and Wolfgang Haken, with the first major computer-assisted proof in history [1].

The Four Colour Theorem can be equivalently described in the language of graph theory as follows. Let \(G=(V,E)\) be a simple graph, that is, an undirected, unweighted graph without multi-edges and without loops. Two distinct vertices v and w are called adjacent, denoted \(v\sim w\) or \(w\sim v\), if \(\{v,w\}\in E\). A k-colouring of the vertices is a function \(c:V\rightarrow \{1,\ldots ,k\}\), and it is proper if \(v\sim w\) implies \(c(v)\ne c(w)\). The vertex colouring number \(\chi =\chi (G)\) is the minimum k such that there exists a proper k-colouring of the vertices. Moreover, the graph G is called planar if it can be embedded in the plane, that is, it can be drawn on the plane in such a way that its edges intersect only at their endpoints.

Theorem 1

(Four Colour Theorem, 1976) If G is a planar simple graph, then \(\chi \le 4\).

Despite the huge importance of this result, quoting William Thomas Tutte [34],

The Four Colour Theorem is the tip of the iceberg, the thin end of the wedge and the first cuckoo of Spring.

In fact, the study of the vertex colouring number \(\chi \) has shown to be interesting also for several other problems in graph theory, as well as for applications to partitioning problems. Moreover, other notions of colouring have been introduced, and each of them has led to numerous challenging problems, many of which are beautifully summarised in [19, 34].

For instance, another common notion in the literature is the following. Given a simple graph \(G=(V,E)\), a proper k-colouring of the edges is a function \(c:E\rightarrow \{1,\ldots ,k\}\) such that, if the distinct edges e and f have one endpoint in common, then \(c(e)\ne c(f)\). The edge colouring number \(\chi ^*=\chi ^*(G)\) is the minimum k such that there exists a proper k-colouring of the edges. In 1964, Vadim Georgievich Vizing [35] proved the following result:

Theorem 2

(Vizing’s theorem, 1964) If G is a simple graph with maximum vertex degree \(\varDelta \), then

$$\chi ^*\in \{\varDelta ,\varDelta +1\}.$$

Graphs with \(\chi ^*=\varDelta \) are said to be of class one, and graphs with \(\chi ^*=\varDelta +1\) are said to be of class two.

1.2 Setting and Aim of This Paper

Here we shall focus on two different notions of periodic colouring for a simple graph \(G=(V,E)\), as well as on their connection. One of them is the notion of t-periodic colouring for vertices that was introduced by John Adrian Bondy and Miklós Simonovits in 1974 [6] (cf. Definition 5.4.3 in [11]). Before defining it, we recall the following

Definition 1

A path of length \(\ell \ge 1\) is a sequence

$$\begin{aligned} v_1,\ldots ,v_\ell ,v_{\ell +1} \end{aligned}$$

of distinct vertices such that \(v_j\sim v_{j+1}\) for each \(j\in \{1,\ldots ,\ell \}\). A cycle of length \(\ell \ge 3\) is a path where \(v_{\ell +1}=v_1\).

Definition 2

A (not necessarily proper) colouring of the vertices of G is t-periodic if any path of length t in G has endpoints of the same colour.

Bondy and Simonovits used this notion as a tool to solve a conjecture of Paul Erdős and to prove that, if G has N nodes and at least \(100cN^{1+1/c}\) edges, for a positive constant c, then G contains a cycle of length \(2\ell \), for every \(\ell \in [c,cN^{1/c}]\). In particular, they showed that, for any t, if G has average degree \(2|E|/|V|\ge 4\), then any t-periodic colouring of G has at most 2 colours (see also Lemma 5.4.4 in [11]). However, they did not study properties of the t-periodic colouring which were not needed for their main result.

Here we introduce and investigate the following colouring number:

Definition 3

The vertex t-periodic colouring number \(\chi _t=\chi _t(G)\) is the largest k such that G has a t-periodic colouring of the vertices with k colours.

Clearly, for each \(k\le \chi _t\), G has a t-periodic colouring with k colours. This is why it is appropriate to consider the maximum number of such colours, as opposed to the definitions of \(\chi \) and \(\chi ^*\), where the minimum number of colours is taken.

Now, choosing an orientation for an edge \(\{v,w\}\in E\) means letting one of its endpoints be its input and the other one be its output. We let \(e=[v, w]\) denote the oriented edge whose input is v and whose output is w. Moreover, we let

$$\begin{aligned} \mathcal {O}:=\{[v,w], [w,v]:\, v\sim w\} \end{aligned}$$

denote the set of oriented edges of G.

Before introducing the other notion of periodic colouring that we shall focus on, we recall that a graph is called k-partite if it admits a proper k-colouring of the vertices.

Definition 4

[26] Given \(k\in \mathbb {N}_{\ge 1}\), G is circularly k-partite if the set of its oriented edges can be partitioned as \(\mathcal {O}=\mathcal {O}_1\sqcup \cdots \sqcup \mathcal {O}_k\), where the sets \(\mathcal {O}_j\) are non-empty and satisfy the property that

$$\begin{aligned}{}[v,w]\in \mathcal {O}_j \Longrightarrow [w,z]\in \mathcal {O}_{j+1}, \, \forall z\sim w:\, z\ne v, \end{aligned}$$

where we also let \(\mathcal {O}_0:=\mathcal {O}_k\) and \(\mathcal {O}_{k+1}:=\mathcal {O}_1\).

In particular, if G is circularly k-partite, then the corresponding partition \(\mathcal {O}=\mathcal {O}_1\sqcup \cdots \sqcup \mathcal {O}_k\) of the oriented edges naturally defines a k-colouring \(c:\mathcal {O}\rightarrow \{1,\ldots ,k\}\) of the oriented edges by letting

$$\begin{aligned} c([v,w])=j\iff [v,w]\in \mathcal {O}_j. \end{aligned}$$

We can also see this colouring as a function \(c:\mathcal {O}\rightarrow \mathbb {Z}_k\), where \(\mathbb {Z}_k\) is the multiplicative group of integers modulo k, and it is periodic in the sense that it satisfies

$$\begin{aligned} c([v,w])=j \Longrightarrow c([w,z])=j+1, \, \forall z\sim w:\, z\ne v.\end{aligned}$$

Circularly (k-)partite graphs have been introduced in [26] in the following context. Given a simple graph G as above, its non-backtracking graph is the directed graph \(\mathcal {G}\) whose vertex set is the set \(\mathcal {O}\) of oriented edges of G, and such that there is a directed edge from \([v_1,v_2]\in \mathcal {O}\) to \([w_1,w_2]\in \mathcal {O}\) if and only \(v_2=w_1\) and \(v_1\ne w_2\). The non-backtracking matrix of G is defined as the transpose of the adjacency matrix of \(\mathcal {G}\). It has been introduced by Ki-ichiro Hashimoto in 1989 [17], and it has been investigated since then in many areas of graph theory and network science (see for instance [2,3,4,5, 7,8,9,10, 13,14,15, 18, 21, 24, 25, 27,28,33]). Recently, in [20], Jürgen Jost, Leo Torres and the author of this paper introduced the non-backtracking Laplacian of G as the normalized Laplacian \(\mathcal {L}\) of \(\mathcal {G}\), and they showed that the spectral properties of this new operator are, in some ways, more precise than that of the non-backtracking matrix. In [20] it is shown, in particular, that the eigenvalues of the non-backtracking Laplacian \(\mathcal {L}\) are contained in the complex disc D(1, 1). Moreover, the spectral gap from 1 is defined as the smallest distance \(\varepsilon \) between the eigenvalues of \(\mathcal {L}\) and the point 1 on the real line, and a sharp lower bound for \(\varepsilon \) is provided, but no upper bound is given in [20]. As a continuation of this work, in [26], Dong Zhang, Giulio Zucal and the author of this paper proved additional spectral properties of the non-backtracking Laplacian, including a sharp upper bound for \(\varepsilon \). And in order to prove this upper bound (Theorem 5.1 in [26]), they had to introduce the above class of circularly partite graphs.

Here we introduce also the following colouring number:

Definition 5

The oriented edge periodic colouring number \(\chi ^o=\chi ^o(G)\) is the largest k such that G is circularly k-partite.

We shall see why, as for \(\chi _t\), also in this case it is natural to consider the maximum number of colours, and we shall investigate various properties of \(\chi ^o\). Moreover, we shall see that there is a deep connection between \(\chi _t\) and \(\chi ^o\), despite the fact that their definitions are quite different, and they arose in two unrelated contexts.

Throughout the paper, we shall consider simple graphs, and we shall assume that all graphs are connected.

1.3 Structure of the Paper

In Sect. 2 we give a characterisation of circularly k-partite graphs that does not involve the set of oriented edges. Then, in Sect. 3 we prove various properties of the oriented edge periodic colouring number \(\chi ^o\), and similarly, in Sect. 4 we investigate properties of the vertex t-periodic colouring number \(\chi _t\). Finally, in Sect. 5, we study the relationship between \(\chi ^o\) and \(\chi _t\).

2 Characterisation of Circularly Partite Graphs

As pointed out already in [26], all graphs are circularly 1-partite, and a graph is circularly 2-partite if and only if it is bipartite. An example of a circularly 3-partite graph is given in Fig. 1.

Fig. 1
figure 1

A circularly 3-partite graph

We shall now give a characterisation of all circularly k-partite graphs that does not require looking at the set of oriented edges. Before, we need to define extended star graphs, as well as the diameter of a graph.

Definition 6

A graph G is an extended star graph if it is a tree (that is, it has no cycles) and it has exactly one vertex of degree \(\ge 3\).

For instance, star graphs with at least 3 edges are extended star graphs.

Definition 7

The diameter of a graph is the length of the shortest path between the most distanced nodes.

We can characterise all circularly k-partite graphs as follows.

Theorem 3

  1. 1.

    The path graph of length M is circularly k-partite for each \(k\in \{1,\ldots ,2M\}\).

  2. 2.

    An extended star graph of diameter M is circularly k-partite for each \(k\in \{1,\ldots ,M\}\).

  3. 3.

    For \(k\ge 1\), a graph G which is neither a path nor an extended star graph is circularly k-partite if and only if the following two conditions hold:

    • The length of each cycle is a multiple of k, and

    • The length \(\ell \) of any path connecting two distinct vertices of degree \(\ge 3\) is such that \(2\ell \) is a multiple of k.

Proof

The first two claims are straightforward, and so is the third claim for \(k=1\), since all graphs are circularly 1-partite and the two conditions are satisfied by all graphs for \(k=1\). For \(k=2\), we know that a graph is circularly 2-partite if and only if it is bipartite, therefore if and only if all cycles have even length. Together with the fact that \(2\ell \) is always a multiple of 2, this proves the claim for \(k=2\).

Now, fix \(k\ge 3\) and let G be a circularly k-partite graph which is not a path. Clearly, the length of each cycle in G must be a multiple of k. To see that also the second condition holds, assume that there is a path of length \(\ell \) between two distinct vertices v and w of degree \(\ge 3\). Assume also, without loss of generality, that one of the oriented edges that have v as an input belongs to \(\mathcal {O}_1\). Then, since \(\deg v\ge 3\), all oriented edges that have v as an input must be in \(\mathcal {O}_1\), and all oriented edges that have v as an output must be in \(\mathcal {O}_k\). This leads us to the situation depicted in Fig. 2, where we also let \(\mathcal {O}_{k+r}:=\mathcal {O}_r\) for any r. In particular, we have an oriented edge in \(\mathcal {O}_{2\ell }\) that has v as output, but we know that all oriented edges that have v as output belong to \(\mathcal {O}_k\). This implies that \(2\ell \) must be a multiple of k. The fact that, vice versa, a graph satisfying conditions 1 and 2 is circularly k-partite, is also clear from Fig. 2. \(\square \)

Fig. 2
figure 2

An illustration of the proof of Theorem 3

By Theorem 3, it is straightforward to see, for example, that a Mickey Mouse graph (Fig. 3) with both ears of length 2k, the face of length 5k and distance k between the ears is circularly k-partite.

Fig. 3
figure 3

A Mickey Mouse graph is circularly k-partite

Moreover, two immediate consequences of Theorem 3 are the following corollaries.

Corollary 1

Let G be a circularly k-partite graph which is not a path graph. If we know which set \(\mathcal {O}_j\) a given oriented edge [vw] belongs to, then by induction we can also infer to which set each oriented edge belongs to.

Corollary 2

If a graph is circularly k-partite, then it is also circularly \(\ell \)-partite, for each number \(\ell \) that divides k.

Hence, it is natural to ask what the largest k such that a graph is circularly k-partite is.

3 Oriented Edge Periodic Colouring Number

In this section we focus on the oriented edge periodic colouring number \(\chi ^o=\chi ^o(G)\), which we defined as the largest k such that G is circularly k-partite.

We start by considering the following examples.

  • For the path graph of length M, \(\chi ^o=2M\).

  • For star graphs, \(\chi ^o=2\).

  • More generally, for an extended star graph of diameter M, \(\chi ^o=M\).

  • For the cycle graph on N nodes, \(\chi ^o=N\).

  • The petal graph with \(\ell \ge 1\) petals of length \(k \ge 3\) is the graph given by \(\ell \) cycle graphs of length k, all having a common central vertex. Clearly, for a petal graph whose petals have length k, we have \(\chi ^o=k\).

We can now improve Corollary 2 as follows.

Theorem 4

If G is neither a path nor an extended star graph, then for every \(k\ge 1\),

$$\begin{aligned} G\text { is circularly }k\text {-partite } \iff k \text { divides }\chi ^o. \end{aligned}$$

Proof

The \((\Leftarrow )\) follows from Corollary 2. Now, assume that G is circularly k-partite. Then, by definition of oriented edge periodic colouring number, we must have \(k\le \chi ^o\). Assume also, by contradiction, that k does not divide \(\chi ^o\). Then, \(k>1\) and, by Theorem 3,

  • The length of each cycle is a multiple of both \(\chi ^o\) and k, and

  • The length \(\ell \) of any path connecting two distinct vertices of degree \(\ge 3\) is such that \(2\ell \) is a multiple of both \(\chi ^o\) and k.

This implies that

  • The length of each cycle is a multiple of \({{\,\textrm{lcm}\,}}(k,\chi ^o)\), and

  • The length \(\ell \) of any path connecting two distinct vertices of degree \(\ge 3\) is such that \(2\ell \) is a multiple of \({{\,\textrm{lcm}\,}}(k,\chi ^o)\).

Therefore, again by Theorem 3, G is circularly \({{\,\textrm{lcm}\,}}(k,\chi ^o)\)-partite. But since we are assuming that \(k\le \chi ^o\) does not divide \(\chi ^o\), we have that \({{\,\textrm{lcm}\,}}(k,\chi ^o)>\chi ^o\), which leads to a contradiction. \(\square \)

Lemma 1

Let \(q,r\in \mathbb {N}_{\ge 3}\) be two relatively prime numbers. If G has at least one cycle of length q and at least one cycle of length r, then \(\chi ^o=1\).

Proof

It follows from Theorem 3. \(\square \)

For example, the graphs in Fig. 4 only differ by one edge subdivison. However, by Lemma 1, the first graph is such that \(\chi ^o=1\), since the inner cycles have length 3 while the outer cycle has length 4. On the other hand, by Theorem 3, the second graph is such that \(\chi ^o=4\).

Fig. 4
figure 4

A graph with \(\chi ^o=1\) and a graph with \(\chi ^o=4\)

An immediate consequence of Lemma 1 is the following

Corollary 3

Let \(K_N\) denote the complete graph on N nodes, and let G be a graph on N nodes. If \(K_4\) is a subgraph of G, then \(\chi ^o(G)=1\). In particular, if \(N\ge 4\), then \(\chi ^o(K_N)=1\).

Hence, for \(N\ge 4\), the complete graph \(K_N\) has the smallest possible oriented edge periodic colouring number, since \(\chi ^o(K_N)=1\), and the largest possible vertex colouring number, since \(\chi (K_N)=N\).

Proposition 1

Let \(d\ge 3\). If G is d-regular, then \(\chi ^o\in \{1,2\}\).

Proof

Clearly, by the assumptions, G is neither a path nor an extended star graph. Hence, by Theorem 3 and since all vertices have degree \(d\ge 3\), the length \(\ell \) of any path connecting two distinct vertices is such that \(2\ell \) is a multiple of \(\chi ^o\). This is also true for the distance \(\ell =1\) between two adjacent vertices. Therefore, 2 must be a multiple of \(\chi ^o\), implying that \(\chi ^o\le 2\). \(\square \)

As a consequence of Proposition 1, cycle graphs are the only regular graphs for which \(\chi ^o>2\).

Next, we shall evaluate the vertex and edge colouring number for all graphs that have \(\chi ^o>1\).

Observe that, for an extended star graph of diameter M, \(\chi ^o=M\) and \(\chi =2\). The colouring number of all other graphs that have \(\chi ^o>1\) is given in the next theorem.

Theorem 5

If G is not an extended star graph, then

  1. (a)

    \(\chi ^o\) is even if and only if \(\chi =2\).

  2. (b)

    If \(\chi ^o>1\) is odd, then \(\chi =3\).

Proof

  1. (a)

    We know that

    $$\begin{aligned} \chi =2 \iff G\text { is bipartite} \iff G\text { is circularly }2\text {-partite}. \end{aligned}$$

    By Theorem 4, if G is neither a path nor an extended star graph, this happens if and only if 2 divides \(\chi ^o\), that is, \(\chi ^o\) is even. If G is a path graph of length M, the claim follows from the fact that \(\chi =2\) and \(\chi ^o=2M\) is always even.

  2. (b)

    By (a), G is not bipartite, therefore \(\chi \ge 3\). Hence, if we show that there exists a proper 3-colouring of the vertices we are done, as this implies that \(\chi \le 3\). Since G is neither a path (as it is not bipartite) nor an extended star graph (by assumption), it is described by the third point in Theorem 3, for \(k=\chi ^o\). Therefore, the length \(\ell \) of any path connecting two distinct vertices of degree \(\ge 3\) must be such that \(2\ell \) is a multiple of \(\chi ^o\). But since \(\chi ^o\) is odd, this implies that \(\ell \) must be a multiple of \(\chi ^o\). Hence, since \(\chi ^o>1\), also \(\ell >1\). In particular, two vertices of degree \(\ge 3\) cannot be adjacent, as their distance must be greater than 1. Therefore, we can colour all vertices of degree \(\ge 3\) with the same colour. Since all other vertices have degree 1 or 2, it is enough to colour them with at most two additional colours to obtain a proper 3-colouring of the entire vertex set. This proves the claim.

\(\square \)

The inverse of Theorem 5(b) does not hold. For instance, let G be the graph given by a cycle of length 3 attached with a cycle of length 4 by a common central vertex. Then, \(\chi =3\) and, by Lemma 1, \(\chi ^o=1\).

We now consider the edge colouring number. We shall prove that all graphs that have \(\chi ^o>1\) are of class one.

Theorem 6

For any graph with maximum degree \(\varDelta \),

$$\begin{aligned} \chi ^o>1 \Rightarrow \chi ^*=\varDelta . \end{aligned}$$

Proof

If G is bipartite, then \(\chi ^*=\varDelta \) by Kőnig’s line colouring Theorem [22]. Hence, we can now assume that G is not an extended star graph, \(\varDelta \ge 3\) and, by Theorem 5(a), we can assume that \(\chi ^o\ge 3\) is odd. In this case, as shown in the proof of Theorem 5(b), if v and w are two distinct vertices of degree \(\ge 3\), then their distance d must be a multiple of \(\chi ^o\). Hence, in particular, \(d\ge 3\). This allows us to make a proper \(\varDelta \)-colouring of the edges, as follows:

  1. 1.

    We can first colour all edges that are incident to vertices of degree \(\ge 3\) with colours \(\{1,2,3,\ldots ,\varDelta \}\), so that two such edges that share a common vertex have different colours.

  2. 2.

    The endpoints of the remaining edges all have degree 1 or 2. Clearly, we can colour such edges with colours \(\{1,2,3\}\) so that any two edges in G that meet at a common vertex have different colours.

Therefore, \(\chi ^*\le \varDelta \), and by Vizing’s Theorem, this implies that \(\chi ^*= \varDelta \). \(\square \)

4 Vertex t-Periodic Colouring

Recall that, in the Introduction, we gave the following definitions:

Definition 8

A (not necessarily proper) colouring of the vertices of G is t-periodic if any path of length t in G has endpoints of the same colour.

Definition 9

The vertex t-periodic colouring number \(\chi _t=\chi _t(G)\) is the largest k such that G has a t-periodic colouring of the vertices with k colours.

Clearly, \(\chi _t\ge 1\) for any t. We shall assume that t is small enough that, if we know the colours of any given t vertices \(v_1\sim \cdots \sim v_t\) that form a path, then by periodically repeating these colours we know how to colour the entire graph. With this assumption, we have that \(\chi _t\le t\), since the colours of \(v_1,\ldots , v_t\) (which are at most t) can be used to colour the entire graph.

Now, we know that a graph G is bipartite if and only if \(\chi =2\). Moreover, in Theorem 5 we have shown that, if G is not an extended star graph, then this is true if and only if \(\chi ^o\) is even. Similarly, we can prove the following

Proposition 2

G is bipartite if and only if \(\chi _2=2\).

Proof

If \(V=V_1\sqcup V_2\) is a partition of the vertex set that makes G bipartite, then we can clearly colour \(V_1\) with one colour and \(V_2\) with another colour to obtain a 2-periodic colouring. Together with the fact that \(\chi _2\le 2\), this implies that \(\chi _2=2\).

Assume now that \(\chi _2=2\), and let \(V=V_1\sqcup V_2\) be the partition of the vertex set which is given by the colours of a 2-periodic colouring. Assume also, by contradiction, that there exists an edge \(v\sim w\) within \(V_1\). Then, for each \(z\in V_2\), we cannot have \(v\sim z\), because otherwise w would have the same colour as z, and similarly we cannot have \(w\sim z\). Hence, in particular, v and w can only be connected to vertices within \(V_1\). By induction, this implies that \(V_1\) and \(V_2\) are not joined by any edge, which is a contradiction since we are considering connected graphs. \(\square \)

We now consider some examples.

  • Clearly, \(\chi _1=1\) for every graph.

  • For the path on N nodes and any \(t\in \{1,\ldots ,N\}\), it is easy to check that \(\chi _t=t\).

  • For the complete graph on N nodes, \(\chi _t=1\) for all \(t\in \{1,\ldots ,N-1\}\).

  • In [6] and [11, Lemma 5.4.4] it is shown that, for any t, if G has average degree \(2|E|/|V|\ge 4\), then any t-periodic colouring of G has at most 2 colours, implying that \(\chi _t\le 2\) in this case.

Theorem 7

Let \(G=C_N\) be the cycle graph on N nodes, and let \(t\in \{1,\ldots ,N\}\). Then,

$$\begin{aligned} \chi _t=\gcd (t,N). \end{aligned}$$

Proof

Let \(\gamma :=\gcd (t,N)\). The fact that \(\chi _t\ge \gamma \) is clear by considering a proper t-periodic \(\gamma \)-colouring of the vertices. Hence, it is enough to show that \(\chi _t\le \gamma \). Let

$$\begin{aligned} v_0\sim v_1\sim \cdots \sim v_{N-1} \end{aligned}$$

be the vertices of G, and let \(c:V\rightarrow \{1,\ldots ,\chi _t\}\) be a t-periodic colouring. Moreover, write \(t=\gamma e\) and \(N=\gamma f\), so that \(\gcd (e,f)=1\). If we see the indices of all the vertices as elements of the multiplicative group \(\mathbb {Z}_N\) of integers modulo N, then by definition of t-periodic colouring, we have that

$$\begin{aligned} c(v_i)=c(v_{\alpha t +i}), \quad \forall \alpha \in \mathbb {Z}_N \text { and }\forall i\in \{0,\ldots ,N-1\}. \end{aligned}$$

Therefore, if we show that for each \(i\in \{0,\ldots ,N-1\}\) there are f distinct elements of the form \(\alpha t+i\) (for \(\alpha \in \mathbb {Z}_N\)) in \(\mathbb {Z}_N\), we can infer that there are at least f distinct vertices that have colour \(c(v_i)\). In particular, this would imply that

$$\begin{aligned} \chi _t\le \frac{N}{f}=\gamma . \end{aligned}$$

Without loss of generality, we can consider \(i=0\) and ask how many distinct elements of the form \(\alpha t\) (for \(\alpha \in \mathbb {Z}_N\)) are in \(\mathbb {Z}_N\). We have

$$\begin{aligned} \alpha t\equiv \alpha ' t \mod N&\iff N\vert (\alpha -\alpha ')t\\&\iff \gamma f\vert (\alpha -\alpha ')\gamma e\\&\iff f\vert (\alpha -\alpha ')e\\&\iff f\vert (\alpha -\alpha ')\\&\iff \alpha \equiv \alpha ' \mod f. \end{aligned}$$

Since f is the number of distinct elements \(\alpha \in \mathbb {Z}_f\), this proves the claim. \(\square \)

An immediate consequence is the following

Corollary 4

If G has a cycle of length \(\ell \), then for \(t\in \{1,\ldots ,\ell \}\),

$$\begin{aligned} \chi _t\le \gcd (t,\ell ). \end{aligned}$$

Proof

Clearly, if \(C_{\ell }\) is a subgraph of G, then any t-periodic colouring of G is also a t-periodic colouring of \(C_{\ell }\). And by Theorem 7, any t-periodic colouring of \(C_{\ell }\) must be \(\le \gcd (t,\ell )\). \(\square \)

We now consider graphs with minimum degree \(\ge 2\) which are not cycle graphs.

Definition 10

The girth g(G) of a graph G is the length of a shortest cycle contained in G.

Theorem 8

Let G be a graph with minimum degree \(\ge 2\) which is not a cycle graph. Fix \(t\ge 3\) which is not larger than g(G), and let \(\tau :=\bigl \lfloor \frac{t}{2} \bigr \rfloor \). Then, any t-periodic colouring must be of the form

$$\begin{aligned}&c_0,c_1, \ldots ,c_{\tau },\ldots ,c_1 \quad \text {(for }t\text { even), or}\end{aligned}$$
(1)
$$\begin{aligned}&c_0,c_1, \ldots , c_{\tau },c_{\tau },\ldots ,c_1 \quad \text {(for }t\text { odd).} \end{aligned}$$
(2)

Hence, in particular,

$$\begin{aligned} \chi _t\le \tau +1, \end{aligned}$$

with equality if and only if the \(\tau +1\) colours in (1) or (2) can be chosen to be all distinct.

Proof

Since we are assuming that G is a graph with minimum degree \(\ge 2\) which is not a cycle graph, and since we are assuming that t is not larger than g(G), one can check that G contains a subgraph of the form \(C_\ell \sqcup P_\tau \) which is given by a cycle on \(\ell \ge t\) nodes attached to a path of length \(\tau \) at exactly one vertex \(v_0\). Let

$$\begin{aligned} v_0\sim v_1\sim \cdots \sim v_{\ell -1} \end{aligned}$$

denote the vertices within the cycle \(C_\ell \), and consider the indices of these vertices as elements of \(\mathbb {Z}_{\ell }\). Let also

$$\begin{aligned} v_0\sim w_1\sim \cdots \sim w_\tau \end{aligned}$$

be a path of length \(\tau \) such that the vertices \(w_i\)’s are not in \(C_{\ell }\). \(\square \)

Fig. 5
figure 5

The vertices \(w_k\), \(v_k\), \(v_{-k}\), \(v_{t-k}\) and \(v_{-t+k}\) all have the same colour

For \(k\le \tau \), any t-periodic colouring c must satisfy (Fig. 5)

$$\begin{aligned} c(w_k)=c(v_{t-k})=c(v_{-k}) \end{aligned}$$

and

$$\begin{aligned} c(w_k)=c(v_{-t+k})=c(v_k). \end{aligned}$$

The condition

$$c(w_k)=c(v_k)=c(v_{t-k}) \quad \forall k\in \{1,\ldots , \tau \}$$

implies that

$$\begin{aligned} c(w_1)&=c(v_1)=c(v_{t-1}),\\ c(w_2)&=c(v_2)=c(v_{t-2}),\\&\qquad \ldots \\ c(w_{\tau })&=c(v_\tau )=c(v_{t-\tau }). \end{aligned}$$

Therefore, if \(t=2\tau \) is even, then the t-periodic colouring has to be of the form

$$\begin{aligned} c(v_0),c(w_1), \ldots , c(w_{\tau }),\ldots ,c(w_1). \end{aligned}$$

If \(t=2\tau +1\) is odd, then the t-periodic colouring has to be of the form

$$\begin{aligned} c(v_0),c(w_1), \ldots ,c(w_{\tau }),c(w_{\tau }),\ldots ,c(w_1). \end{aligned}$$

This proves the claim. \(\square \)

5 Vertex t-Periodic Colouring and Oriented Edge Periodic Colouring

In this concluding section, we show that there is a deep relationship between the vertex t-periodic colouring and the oriented edge periodic colouring. We start with the following

Proposition 3

If G is the cycle graph on N nodes and \(t\in \{1,\ldots ,N\}\), then

$$\begin{aligned} \chi _t= t \iff G \text { is circularly }t\text {-partite}. \end{aligned}$$

Proof

By Theorem 7, \(\chi _t= t\) if and only if \(\gcd (t,N)=t\), therefore if and only if t divides N. By Theorem 3, this happens if and only if G is circularly t-partite. \(\square \)

Theorem 9

Let G be a graph with minimum degree \(\ge 2\) which is not a cycle graph. Fix \(t\ge 3\) which is not larger than g(G), and let \(\tau :=\bigl \lfloor \frac{t}{2} \bigr \rfloor \). Then,

$$\begin{aligned} \chi _t= \tau +1\iff G \text { is circularly }t\text {-partite}. \end{aligned}$$

Proof

If t is even, then by Theorem 3, G is circularly t-partite if and only if

  • The length of each cycle is a multiple of t, and

  • The length of any path connecting two distinct vertices of degree \(\ge 3\) is a multiple of \(\tau \).

As a consequence one can check that, in this case, the t-periodic colouring in (1) can be made with \(\tau +1\) distinct colours, if each vertex of degree \(\ge 3\) has either colour \(c_0\) or colour \(c_\tau \).

Similarly, if t is odd, then again by Theorem 3, G is circularly t-partite if and only if

  • The length of each cycle is a multiple of t, and

  • The length of any path connecting two distinct vertices of degree \(\ge 3\) is a multiple of t.

As a consequence one can check that, in this case, the t-periodic colouring in (2) can be made with \(\tau +1\) distinct colours, if all vertices of degree \(\ge 3\) have colour \(c_0\).

Therefore, we have shown one direction. Assume now that \(\chi _t= \tau +1\), and let \(c:V\rightarrow \{1,\ldots ,\tau +1\}\) be a t-periodic colouring. Then, by Theorem 8, c must be of the form

$$\begin{aligned}&c_0,c_1, \ldots ,c_{\tau },\ldots ,c_1 \quad \text {(for }t\text { even), or}\\&c_0,c_1, \ldots , c_{\tau },c_{\tau },\ldots ,c_1 \quad \text {(for }t\text { odd),} \end{aligned}$$

where \(c_0,\ldots ,c_{\tau }\) are \(\tau +1\) distinct colours. Hence, clearly, the length of each cycle must be a multiple of t. This shows the first condition for circularly t-partite graphs.

Now, if \(v_0\) is a vertex of degree \(\ge 3\), then we can write

$$\begin{aligned}&v_0\sim v_1\sim \cdots \sim v_{t-1},\\&v_0\sim v_{-1}\sim \cdots \sim v_{-t+1},\\&v_0\sim w_1, \end{aligned}$$

where:

  • The vertices \(v_1\), \(v_{-1}\) and \(w_1\) are all distinct;

  • The vertices \(v_i\), for \(i\in \{0,1,\ldots ,t-1,-1,\ldots ,-t+1\}\) might possibly have indices in \(\mathbb {Z}_\ell \), for some \(\ell \ge t\). By definition of t-periodic colouring,

    $$\begin{aligned} c(w_1)=c(v_{t-1})=c(v_1) \end{aligned}$$

    and

    $$\begin{aligned} c(w_1)=c(v_{-t+1})=c(v_{-1}), \end{aligned}$$

    implying that all neighbors of \(v_0\) must have the same colour. But since the colours \(c_0,\ldots ,c_\tau \) are all distinct, this is only possible if either t is even and \(v_0\) has colour \(c_0\) or \(c_\tau \), or t is odd and \(v_0\) has colour \(c_0\). Hence, this implies that the length of any path connection two distinct vertices of degree \(\ge 3\) must be a multiple of \(\tau \) (for t even), or a multiple of t (for t odd). That is, G must be circularly t-partite.

\(\square \)

Hence, summarising the relationship between the t-periodic colouring for vertices and the periodic colouring for oriented edges, we have that:

  1. 1.

    Every graph admits a 1-periodic 1-colouring of the vertices, as well as a periodic 1-colouring of the oriented edges.

  2. 2.

    A graph is bipartite if and only if it admits a 2-periodic 2-colouring of the vertices (by Proposition 2), and if and only if it admits a periodic 2-colouring of the oriented edges (by Theorem 5).

  3. 3.

    If G is the cycle graph on N nodes and \(t\in \{1,\ldots ,N\}\), then \(\chi _t\le t\), and

    $$\begin{aligned} \chi _t= t \iff G \text { is circularly }t\text {-partite} \iff t \text { divides }N, \end{aligned}$$

    by Proposition 3 and Theorem 4.

  4. 4.

    Let G be a graph with minimum degree \(\ge 2\) which is not a cycle graph. Fix \(t\ge 3\) which is not larger than g(G), and let \(\tau :=\bigl \lfloor \frac{t}{2} \bigr \rfloor \). Then \(\chi _t\le \tau +1\), and

    $$\begin{aligned} \chi _t= \tau +1\iff G \text { is circularly }t\text {-partite}, \end{aligned}$$

    by Theorems 8 and 9.