1 Introduction

In [14], we introduced the concept of “strongly walk-regular graphs” as a generalization of strongly regular graphs. Here, we generalize this concept to directed graphs: a digraph is called strongly \(\ell \) -walk-regular with \(\ell >1\) if the number of walks of length \(\ell \) from a vertex to another vertex depends only on whether the first vertex is the same as, adjacent to, or not adjacent to the second vertex. In the undirected case, we used eigenvalues to characterize such graphs and we constructed several families of examples. Eigenvalue methods also play a crucial role in this paper, but the situation is more complex and interesting for two reasons. First of all, the adjacency matrix of a strongly walk-regular digraph need not be diagonalizable, and secondly, the eigenvalues can be non-real.

The concept of strongly walk-regular digraphs generalizes the concept of strongly regular digraphs introduced by Duval [7] and is also related to a problem posed by Hoffman (unpublished). He posed the problem of constructing digraphs with unique walks of length 3, a problem that was generalized by Lam and van Lint [13] to arbitrary given length. Such digraphs are indeed special cases of strongly walk-regular graphs. Related work has also been done by Bosák [1] and Gimbert [8], who considered digraphs with unique walks of length in a given interval. Related is also the work of Comellas et al. [5], who introduced weakly distance-regular digraphs as those digraphs for which the number of walks of length \(\ell \) from one vertex to another depends only on the distance between the vertices and on \(\ell \). These generalize the (standard) distance-regular digraphs that were introduced by Damerell [6] and strongly regular digraphs.

In Sect. 2, we shall give some background on eigenvalues of digraphs and strongly regular digraphs. In Sect. 2.3, we will observe that in general, strong regularity of a digraph is a property that cannot be derived from the spectrum. This indicates behavior that is quite different from that of the undirected case. Indeed, we will give examples of non-strongly regular digraphs whose adjacency matrix is not diagonalizable, but still has the same spectrum as a particular strongly regular digraph. We will also use these examples in Sect. 6.2 to construct strongly walk-regular digraphs whose adjacency matrix is not diagonalizable. After making some basic observations in Sect. 3, we classify in Sect. 4 the strongly connected strongly \(\ell \)-walk-regular digraphs for which the number of walks of length \(\ell \) from vertices to non-adjacent vertices is zero. In the remaining sections, we focus on the general case. In Sect. 5, we derive properties of the eigenvalues, which we use in Sect. 6, which is on digraphs with real eigenvalues only. In Sect. 6.1, we focus on those digraphs for which the adjacency matrix is diagonalizable with real eigenvalues only. The results and examples in this case resemble those for undirected graphs as given in [14]. In Sect. 6.2, we show that a digraph \(\varGamma \) with only real eigenvalues and whose adjacency matrix is not diagonalizable has at most two values of \(\ell \) for which \(\varGamma \) can be strongly \(\ell \)-walk-regular, and we also construct examples of such strongly walk-regular digraphs. In the final section, we focus on the digraphs with non-real eigenvalues. We give examples and characterize those digraphs \(\varGamma \) for which there are infinitely many \(\ell \) for which \(\varGamma \) is strongly \(\ell \)-walk-regular.

2 Preliminaries

A digraph (or directed graph) \(\varGamma \) is an ordered pair (VE) consisting of a set V of vertices and a set E of ordered pairs of elements of V, called (directed) edges. We say that a vertex u is adjacent to v if the ordered pair uv is an edge. In this case, we also call v an outneighbor of u, and u an inneighbor of v. When E contains both edges uv and vu, we say that the edge uv is bidirected. A digraph for which all edges are bidirected is considered the same as an undirected graph. A digraph having no multiple edges or loops (edges of the form uu) is called simple. All digraphs we consider in this paper are simple.

The adjacency matrix A of a digraph \(\varGamma \) is the \(n \times n\) matrix \((a_{uv})\) indexed by the vertices of \(\varGamma \), with entries \(a_{uv}=1\) if u is adjacent to v, and \(a_{uv}= 0\) otherwise. The all-ones matrix is denoted by J, or \(J_n\) if we want to specify that its size is \(n \times n\). A digraph is called regular of degree k if \(AJ = JA = kJ\), that is, if all vertices have both indegree and outdegree k. A walk (of length \(\ell \)) is a sequence of vertices \((u_0,u_1,\dots ,u_{\ell })\), where \(u_iu_{i+1}\) is an edge for \(i=0,1,\dots ,\ell -1\). The number of walks of length \(\ell \) from u to v is given by \((A^{\ell })_{uv}\). A digraph is strongly connected if there is a walk from every vertex to every other vertex. The reverse of a digraph \(\varGamma \) is the digraph with adjacency matrix \(A^{\top }\).

The line digraph of a graph (VE) has vertex set E. If uv and wz are both in E, then uv is adjacent to wz in the line digraph if \(v=w\).

2.1 The spectrum of a digraph

The spectrum of a digraph consists of the set of eigenvalues of its adjacency matrix together with their (algebraic) multiplicities. Some basic results on the spectrum are the following (see also e.g. [4]):

  1. (i)

    By the Perron–Frobenius theorem, the maximum eigenvalue \(\theta _0\) of a strongly connected digraph \(\varGamma \) is real, simple, and has a positive eigenvector \(\mathbf{u}\). In particular, if \(\varGamma \) is k-regular then \(\mathbf{u}=j\), where j denotes the all-ones vector, and \(\theta _0=k\);

  2. (ii)

    For a k-regular digraph \(\varGamma \), every eigenvector x of an eigenvalue \(\theta \) different from k is orthogonal to the all-ones vector j. This follows from the equation \(\theta j^{\top }{} \mathbf{x}=j^{\top }A\mathbf{x}=kj^{\top }{} \mathbf{x}\);

  3. (iii)

    If \(\varGamma \) is a strongly connected digraph with minimal polynomial having degree \(d+1\), then the diameter of \(\varGamma \) is at most d;

  4. (iv)

    If \(\varGamma \) has n vertices and m edges, then the spectrum of the line digraph of \(\varGamma \) consists of the spectrum of \(\varGamma \) and \(m-n\) extra eigenvalues 0;

  5. (v)

    Hoffman and McAndrew [10] showed that for a digraph \(\varGamma \) with adjacency matrix A, there exists a polynomial \(h(x)\in \mathbb {Q}[x]\) such that

    $$\begin{aligned} h(A)=J \end{aligned}$$
    (2.1)

    if and only if \(\varGamma \) is strongly connected and regular. If this is the case, then the unique polynomial h(x) of least degree such that (2.1) is satisfied, the Hoffman polynomial, is \(\frac{n}{\hbar (k)}\hbar (x)\), where \((x-k)\hbar (x)\) is the minimal polynomial of \(\varGamma \) and n and k are the number of vertices and the degree of \(\varGamma \), respectively.

A useful consequence of the above is that if \(\varGamma \) is a strongly connected k-regular digraph with adjacency matrix A, and p is a polynomial such that \(p(A)=\alpha J\) for some \(\alpha \), then the Hoffman polynomial divides p, and \(p(\theta )=0\) for every eigenvalue \(\theta \) different from k.

2.2 Walk-regular and strongly regular digraphs

Like in the undirected case, a digraph is called walk-regular if for every \(\ell \), the number of (closed) walks of length \(\ell \) from a vertex to itself is independent of the chosen vertex. This is equivalent to the property that \(A^{\ell }\) has constant diagonal for every \(\ell \).

The notion of a strongly regular digraph (or directed strongly regular graph) was introduced by Duval [7] in 1988 as a generalization of strongly regular graphs to the directed case. A strongly regular digraph is a regular digraph such that the number of walks of length two from one vertex to another depends only on whether the first vertex is the same as, adjacent to, or not adjacent to the second vertex. In particular, a k-regular digraph on n vertices with adjacency matrix A is strongly regular with parameters \((n, k, t, \lambda , \mu )\) if \(A^2= tI +\lambda A +\mu (J-I-A)\). The case \(t=k\) is the undirected case. On the other extreme, the case \(t=0\), we have (doubly regular) tournaments, in which case \(A+A^{\top }=J-I\). These two cases are typically excluded from the study of strongly regular digraphs. We therefore say that a strongly regular digraph is non-exceptional if \(0<t<k\). Note that by the given definition, also the complete digraph (with adjacency matrix \(J-I\)) is strongly regular. We make this specific remark because in the undirected case, the complete graph is excluded from the definition of strong regularity. For more details, construction methods, and references, we refer to Brouwer’s website [3].

2.3 Not a spectral characterization of strong regularity

A connected regular undirected graph with three distinct eigenvalues is strongly regular. This does, however, not generalize to digraphs, as the next examples will show. The smallest (non-exceptional) strongly regular digraph is on six vertices with spectrum \(\{2^1,0^3,-1^2\}\); see [7, Fig. 1]. There are, however, three other digraphs with this spectrum (which follows from checking all 2-regular digraphs on six vertices that were generated by Brinkmann [2, private communication]). Each of these three is strongly connected and regular, but the Hoffman polynomial is \(x^2(x+1)\) (so it has 0 as a multiple root), and therefore, it is not strongly regular. The first of these is obtained from a directed 6-cycle \(\{12,23,34,45,56,61\}\) by adding bidirected edges 13, 25, 46. The second digraph has directed edges 12, 23, 31, 14, 45, 51 and bidirected edges 24, 36, 56, whereas the third digraph is the reverse of the second. The latter two digraphs are not even walk-regular (because \(A^2\) does not have constant diagonal), but the first one is. Thus, we have the following.

Observation

Strong regularity of digraphs can in general not be recognized from the spectrum.

Note that because the Hoffman polynomials of the above examples have 0 as a multiple root, their adjacency matrices are not diagonalizable. Godsil et al. [9] showed that for non-exceptional strongly regular digraphs, the adjacency matrix is diagonalizable. On the other hand, a regular digraph with three distinct eigenvalues whose adjacency matrix is diagonalizable must be strongly regular. Later we will also see examples of strongly walk-regular digraphs for which the adjacency matrix is not diagonalizable. The fact that this can happen is one of the interesting features in the generalization of undirected graphs to directed graphs.

3 The basics

Like in the undirected case, we call a digraph \(\varGamma \) a strongly \(\ell \) -walk-regular digraph with parameters \((\lambda _{\ell },\mu _{\ell },\nu _{\ell })\), for \(\ell >1\), if the number of walks of length \(\ell \) from a vertex to an adjacent vertex equals \(\lambda _{\ell }\), from a vertex to a non-adjacent vertex equals \(\mu _{\ell }\), and from a vertex to itself equals \(\nu _{\ell }\). So indeed, every strongly regular digraph with parameters \((n, k, t, \lambda , \mu )\) is a strongly 2-walk-regular digraph with parameters \((\lambda ,\mu ,t)\). In particular, the empty and complete digraphs give examples. Indeed, these digraphs are clearly strongly \(\ell \)-walk-regular for every \(\ell \). It is also clear that if \(\varGamma \) is an undirected digraph (i.e., its adjacency matrix is symmetric), then it is strongly \(\ell \)-walk-regular as an undirected graph in the sense of [14] if and only if it is strongly \(\ell \)-walk-regular as a digraph in the above sense.

We will first make some basic observations. All of these are similar as in the undirected case, so we omit the (elementary) proofs.

Let A be the adjacency matrix of \(\varGamma \). Then, \(\varGamma \) is a strongly \(\ell \)-walk-regular digraph if and only if \(A^{\ell }\) is in the span of AI, and J.

Lemma 3.1

Let \(\ell >1\), and let \(\varGamma \) be a digraph with adjacency matrix A. Then, \(\varGamma \) is a strongly \(\ell \)-walk-regular digraph with parameters \((\lambda _{\ell },\mu _{\ell },\nu _{\ell })\) if and only if \(A^{\ell }+(\mu _{\ell }-\lambda _{\ell })A+(\mu _{\ell }-\nu _{\ell })I=\mu _{\ell }J\).

Now, it is clear that a strongly regular digraph is strongly \(\ell \)-walk-regular for more values of \(\ell \) than just \(\ell =2\), because its adjacency algebra (that is, the algebra spanned by all powers of A) equals \(\langle A,I,J \rangle \).

Proposition 3.2

Let \(\varGamma \) be a strongly regular digraph. Then \(\varGamma \) is a strongly \(\ell \)-walk-regular digraph with parameters \((\lambda _{\ell },\mu _{\ell },\nu _{\ell })\) for every \(\ell >1\) and some \(\lambda _{\ell },\mu _{\ell },\) and \(\nu _{\ell }\).

It is also clear from Lemma 3.1 that the reverse of a strongly walk-regular graph is strongly walk-regular, with the same parameters.

By Hoffman and McAndrew’s characterization of strongly connected regular digraphs [10] (see Sect. 2.1), we have the following.

Lemma 3.3

Let \(\ell >1\), and let \(\varGamma \) be a strongly \(\ell \)-walk-regular digraph with parameters \((\lambda _{\ell },\mu _{\ell },\nu _{\ell })\) where \(\mu _{\ell }>0\). Then, \(\varGamma \) is regular and strongly connected.

Also if \(\mu _{\ell }=0\), the digraph can be regular and strongly connected. For example, the directed cycle of size \(\ell \) is strongly \(\ell \)-walk-regular with parameters (0, 0, 1) and strongly \((\ell +1)\)-walk-regular with parameters (1, 0, 0). We will look further into the case \(\mu _{\ell }=0\) in Sect. 4 and focus on the case of strongly connected regular digraphs in the later sections.

4 Graphs with \(\mu _{\ell }=0\)

In this section, we shall classify the strongly \(\ell \)-walk-regular digraphs with \(\mu _{\ell }=0\) that are strongly connected.

Example 1

Let \(\varGamma \) be a directed g-cycle, with adjacency matrix A. It is clear that \(\varGamma \) has \(x^{g-1}+\cdots +x+1\) as its Hoffman polynomial and \(x^{g}-1\) as its minimal polynomial. The eigenvalues of \(\varGamma \) are the complex \(g\mathrm{th}\)-roots of unity. From the equation \(A^{g}=I\), it follows that \(\varGamma \) is strongly \(\ell \)-walk-regular, with \(\mu _{\ell }=0\), for \(\ell \equiv 0\) and \(1 \text { (mod }g)\).

By using the so-called coclique extension, we can construct more examples as follows.

Example 2

Let \(\varGamma \) be a coclique extension of a directed g-cycle with \(g \ge 2\), that is, a digraph with vertex set \(V=\cup _{i=1}^{g} V_i\) and edge set \(E=\cup _{i=1}^{g-1} (V_i\times V_{i+1})\cup (V_{g}\times V_{1})\). Let A be the adjacency matrix of \(\varGamma \), then \(A^{g+1}=\lambda _{g+1}A\), where \(\lambda _{g+1}=\Pi _{i=1}^{g}|V_i|\). If we require that \(|V_i|>1\) for at least one i, then \(\varGamma \) has diameter g, which implies that \(x^{g+1}-\lambda _{g+1}x\) is the minimal polynomial of \(\varGamma \). It follows that \(\varGamma \) is strongly \(\ell \)-walk-regular, with \(\mu _{\ell }=0\), for \(\ell \equiv 1 \text { (mod }g)\). Note that the case \(g=2\) gives a (undirected) complete bipartite graph.

The properties of these two examples are very typical for the strongly walk-regular digraphs that have non-real eigenvalues, as we shall see in Sect. 7. We now first mention some exceptional non-regular examples.

Example 3

Let \(\ell \ge 3\), and consider the directed \(\ell \)-cycle on vertex set \(\mathbb {Z}_{\ell }\), where a vertex u is adjacent to a vertex v if \(v=u+1\). To this digraph, we add the edge 02. The obtained digraph has diameter \(\ell -1\) and is strongly \(\ell \)-walk-regular with parameters \((\lambda _{\ell },\mu _{\ell },\nu _{\ell })=(1,0,1)\). It follows that its minimal polynomial is \(x^{\ell }-x-1\). If on top, we also add the edge 13, then the obtained digraph is strongly \(\ell \)-walk-regular with parameters \((\lambda _{\ell },\mu _{\ell },\nu _{\ell })=(2,0,1)\), and its minimal polynomial is \(x^{\ell }-2x-1\). Note that for \(\ell =3\), the latter digraph is the complete graph \(K_3\) minus an edge.

We will show next that the given examples are the only strongly connected strongly \(\ell \)-walk-regular digraphs with \(\mu _{\ell }=0\). In order to do this, we will use the following lemma on shortest cycles in such digraphs. We recall that the girth g of a digraph is the length of the shortest directed cycle. Note that \(g=2\) if there is a bidirected edge.

Lemma 4.1

Let \(\varGamma \) be a strongly connected strongly \(\ell \)-walk-regular digraph with \(\mu _{\ell }=0\) and girth g. Then, \(\ell \equiv 0\) or \(1 (mod g)\). Moreover, if \(\varGamma \) is not a directed cycle, then \(\lambda _{\ell }>0\) and for every directed cycle C of length g and every vertex z not on C there are vertices u and v on C such that uz and zv are edges.

Proof

Let C be a cycle of shortest length g, and let w be a vertex on C. It is clear that if one starts walking on the cycle from w, then after \(\ell \) steps one should end up in either w itself or the unique outneighbor of w on C, because \(\mu _{\ell }=0\). Thus, \(\ell \equiv 0\) or \(1 \text { (mod }g)\).

Now, suppose that \(\varGamma \) is not a directed cycle, and let z be a vertex that is not on C. Because \(\varGamma \) is strongly connected and the diameter of \(\varGamma \) is less than \(\ell \) (because the minimal polynomial is a divisor of \(x^{\ell }-\lambda _{\ell }x- \nu _{\ell }\)), it follows that there is a vertex on C which is at distance less than \(\ell \) from z. But then one can extend a walk from z to that vertex to a walk of length \(\ell \) from z to a vertex v on C. Because \(\mu _{\ell }=0\), it follows that zv is an edge and that \(\lambda _{\ell }>0\). Similarly there is a vertex u on C such that uz is an edge.\(\square \)

Theorem 4.2

Let \(\varGamma \) be a strongly connected strongly \(\ell \)-walk-regular digraph with \(\mu _{\ell }=0\) that is not complete. Then, \(\varGamma \) is one of the digraphs of Examples 13.

Proof

Note again that \(\varGamma \) has diameter less than \(\ell \), and so we may assume that \(\ell >2\). In the following, let us denote by \(a \rightarrow _i b\) that there is a walk of length i from a to b; we omit the subscript for \(i=1\). Let g be the girth of \(\varGamma \) and consider a cycle C of length g. By Lemma 4.1, we know that \(\ell \equiv 0\) or \(1 (mod g)\). Further, we may assume that \(\varGamma \) is not a g-cycle (Example 1). Let z be a vertex not on C, and let u and v be vertices on C such that uz and zv are edges (see Lemma 4.1).

First, assume that \(\ell \equiv 0 (mod g)\). Let w be the outneighbor of u on C. By walking \(\ell -1\) steps from w on the cycle, one ends up in u. So \(w \rightarrow _{\ell -1} u \rightarrow z\), and so there is a walk of length \(\ell \) from w to z; hence, wz is also an edge. Inductively, it follows that every vertex on C is adjacent to z. Similarly, z is adjacent to every vertex on C. This also implies that \(g=2\), and it easily follows that \(\varGamma \) is a complete graph. Thus, we may assume below that \(\ell \equiv 1 (mod g)\).

Let us now assume that \(\nu _{\ell }=0\). We again consider the above vertices z, u, and v. Because C is a shortest cycle, it follows that the distance from u to v on the cycle is at most two. If uv is an edge, then \(v \rightarrow _{\ell -2} u \rightarrow z \rightarrow v\), so there is a closed walk of length \(\ell \), which contradicts the assumption that \(\nu _{\ell }=0\). Thus, u and v are at distance two, or \(u=v\) in the (degenerate) case that \(g=2\). In any case, given C and z, the vertices u and v are the unique vertices on C such that uz and zv are edges. Now, let \(v_i\), for \(i=1,\dots ,g\) be the consecutive vertices of C, so \(v_{i-1}v_{i}\) is an edge for \(i=1,\dots ,g\), where we let \(v_0=v_g\). We now define the set of vertices \(V_i=\{v : v_{i-1}v \text { is an edge}\}\) for \(i=1,\dots ,g\). It is easy to show now that there are no edges within each of the sets \(V_i\), that each vertex in \(V_{i}\) is adjacent to each vertex in \(V_{i+1}\), and finally to draw the conclusion that \(\varGamma \) must be a coclique extension of a g-cycle (Example 2).

Next, we assume that \(\nu _{\ell }>0\) (and recall that we assumed that \(\ell \equiv 1 (mod g)\)) and hence that there are closed walks of length \(\ell \). Any such closed walk must contain a vertex not on C. In particular, it follows that there is an edge uz, with u on C and z not on C, that is contained in a closed walk of length \(\ell \). If u has outneighbor v on C, then it follows that \(z \rightarrow _{\ell -1} u \rightarrow v\), so then zv is an edge. It also follows that every edge of C, except possibly uv is contained in a closed walk of length \(\ell \). Suppose now that besides z, there is another vertex \(z'\) not on C, and let \(v'\) be an outneighbor of \(z'\) on C. If \(v' \ne v\), and \(v''\) is the inneighbor of \(v'\) on C, then \(v''v'\) is contained in a walk of length \(\ell \), so \(z' \rightarrow v' \rightarrow _{\ell -1} v''\), and so \(z'v''\) is also an edge. Inductively, it follows that \(z'v\) is an edge. By a similar argument (or applying the same argument to the reverse digraph), it follows that \(uz'\) is an edge. Now, \(z \rightarrow v \rightarrow _{\ell -2} u \rightarrow z'\), so \(zz'\) is an edge. By the same argument, this edge is bidirected, and so \(g=2\). It is now easy to show that the digraph is complete, which is a contradiction. Hence, there is only one vertex (z) not on C. If z has only one outneighbor (v) and one inneighbor (u), then \(\varGamma \) is the first digraph of Example 3. Because C is a cycle of shortest length, z can have either one more inneighbor (the inneighbor of u on C) or one more outneighbor (the outneighbor of v on C), but not both. In both cases, \(\varGamma \) is the second digraph of Example 3. \(\square \)

Note that for the digraphs of Example 3, the above proof indicates that \(\ell \equiv 1 (mod g)\). It is, however, not hard to show that \(\ell =g+1\) (by constructing walks of length \(tg+1\) from a vertex to a non-adjacent vertex for \(t \ge 2\)), i.e., there is only one \(\ell \) for which these digraphs are strongly \(\ell \)-walk-regular.

The given examples with \(\mu _{\ell }=0\) and \(\nu _{\ell }=0\) can be used to construct also some examples that are weakly connected. For example, take a directed cycle, and add a few vertices that only have one outneighbor (and no inneighbors), and this outneighbor is on the cycle. Even more degenerate examples can be constructed: if all walks eventually end in vertices without outneighbor, then \(A^{\ell }=O\) for \(\ell \) large enough.

5 Strongly connected regular digraphs

In order to study the case that \(\mu _{\ell }>0\), from now on we consider strongly connected and regular digraphs; see Lemma 3.3. We denote the set of all diagonalizable digraphs (that is, digraphs with diagonalizable adjacency matrix) by \(\mathcal {D}\). For these digraphs, all roots of the minimal polynomial are simple. By \(\mathcal {D}_{\theta }\), we denote the set of digraphs whose minimal polynomial has all but one root simple, and the non-simple root is \(\theta \) and it has multiplicity 2. For example, the three digraphs in Sect. 2.3 that are cospectral to a strongly regular digraph are in \(\mathcal {D}_{0}\). The following result shows that if \(\varGamma \) is strongly walk-regular, then either \(\varGamma \in \mathcal {D}\) or \(\varGamma \in \mathcal {D}_{\theta }\) for some eigenvalue \(\theta \) of \(\varGamma \). Note that from the observations in Sect. 2.1 and Lemma 3.1, it follows that the Hoffman polynomial divides the polynomial \(x^{\ell }+(\mu _{\ell }-\lambda _{\ell })x+\mu _{\ell }-\nu _{\ell }\), and hence, each eigenvalue different from the degree k is a root of this polynomial.

Proposition 5.1

Let \(\varGamma \) be a strongly connected k-regular digraph. If \(\varGamma \) is strongly \(\ell \)-walk-regular with parameters \((\lambda _{\ell },\mu _{\ell },\nu _{\ell })\) where \(\ell >1\), then either \(\varGamma \in \mathcal {D}\) or \(\varGamma \in \mathcal {D}_{\theta }\) for \(\theta =\frac{-\ell (\mu _{\ell }-\nu _{\ell })}{(\ell -1)(\mu _{\ell }-\lambda _{\ell })}\). Moreover, if \(\varGamma \in \mathcal {D}_{\theta }\), then \(\theta \) is a nonzero integer number different from k and \((\frac{\mu _{\ell }-\nu _{\ell }}{\ell -1})^{\ell -1}=(\frac{\mu _{\ell }-\lambda _{\ell }}{-\ell })^{\ell }\).

Proof

Suppose that \(\varGamma \) is not diagonalizable and let \(\theta \) be a non-simple root of the minimal polynomial. Then, \(\theta \ne k\), and hence, it is also a non-simple root of the Hoffman polynomial and hence of \(p(x)=x^{\ell }+(\mu _{\ell }-\lambda _{\ell })x+\mu _{\ell }-\nu _{\ell }\). If the multiplicity of \(\theta \) in these polynomials is larger than two, then clearly it is also a root of the derivatives \(p'(x)=\ell x^{\ell -1}+\mu _{\ell }-\lambda _{\ell }\) and \(p''(x)=\ell (\ell -1) x^{\ell -2}\). This implies that \(\theta =0\) and hence that \(\mu _{\ell }=\lambda _{\ell }=\nu _{\ell }\). Therefore, \(A^{\ell }=\mu _{\ell }J\) and so every eigenvalue different from k is 0. This, however, contradicts the fact that A has trace 0, so \(\theta \) must have multiplicity two in p(x) and hence in the minimal polynomial.

If \(\theta \) is indeed a root of p(x) with multiplicity two, then it is also a root of \(p'(x)\), and similar as before it follows that \(\theta \ne 0\). By combining the equations \(p(\theta )=0\) and \(p'(\theta )=0\), it follows that

$$\begin{aligned} \mu _{\ell }-\lambda _{\ell }=-\ell \theta ^{\ell -1}\quad \mathrm{and}\quad \mu _{\ell }-\nu _{\ell }=(\ell -1) \theta ^{\ell } \end{aligned}$$
(5.1)

and hence that \(\theta =\frac{-\ell (\mu _{\ell }-\nu _{\ell })}{(\ell -1)(\mu _{\ell }-\lambda _{\ell })}\). If this is indeed a root of both polynomials, then \((\frac{\mu _{\ell }-\nu _{\ell }}{\ell -1})^{\ell -1}=(\frac{\mu _{\ell }-\lambda _{\ell }}{-\ell })^{\ell }\). Moreover, if this is the case, then \(\theta \) is a rational eigenvalue, and so it must be an integer (being a root of a monic polynomial with integer coefficients).\(\square \)

In Sect. 6.2, we will show that the case of non-diagonalizable strongly walk-regular digraphs really occurs by constructing some examples.

Proposition 5.2

Let \(\ell >1\). A strongly connected k-regular digraph \(\varGamma \) on n vertices is strongly \(\ell \)-walk-regular with parameters \((\lambda _{\ell },\mu _{\ell },\nu _{\ell })\) if and only if all of the following conditions hold:

  1. (i)

    Either \(\varGamma \in \mathcal {D}\) or \((\frac{\mu _{\ell }-\nu _{\ell }}{\ell -1})^{\ell -1}=(\frac{\mu _{\ell }-\lambda _{\ell }}{-\ell })^{\ell }\) and \(\varGamma \in \mathcal {D}_{\theta }\) for \(\theta =\frac{-\ell (\mu _{\ell }-\nu _{\ell })}{(\ell -1)(\mu _{\ell }-\lambda _{\ell })};\)

  2. (ii)

    All eigenvalues besides k are roots of the equation

    $$\begin{aligned} x^{\ell }+(\mu _{\ell }-\lambda _{\ell })x+\mu _{\ell }-\nu _{\ell }=0; \end{aligned}$$
  3. (iii)

    And

    $$\begin{aligned} k^{\ell }+(\mu _{\ell }-\lambda _{\ell })k+\mu _{\ell }-\nu _{\ell }=\mu _{\ell }n. \end{aligned}$$

Proof

If \(\varGamma \) is a strongly \(\ell \)-walk-regular digraph with parameters \((\lambda _{\ell },\mu _{\ell },\nu _{\ell })\), then condition \(\mathrm{(i)}\) holds by Proposition 5.1 and \(A^{\ell }+(\mu _{\ell }-\lambda _{\ell })A+(\mu _{\ell }-\nu _{\ell })I=\mu _{\ell }J\) by Lemma 3.1. We already observed in Sect. 2.1 that this implies \(\mathrm{(ii)}\). Condition \(\mathrm{(iii)}\) follows from multiplying the above matrix equation with the all-ones vector.

Now assume that \(\mathrm{(i)}, \mathrm{(ii)}\) and \(\mathrm{(iii)}\) hold. If \(\varGamma \) is diagonalizable, then each eigenvalue besides k is a simple root of the Hoffman polynomial, and hence, the Hoffman polynomial divides the polynomial \(p(x)=x^{\ell }+(\mu _{\ell }-\lambda _{\ell })x+\mu _{\ell }-\nu _{\ell }\). If \((\frac{\mu _{\ell }-\nu _{\ell }}{\ell -1})^{\ell -1}=(\frac{\mu _{\ell }-\lambda _{\ell }}{-\ell })^{\ell }\) and \(\varGamma \in \mathcal {D}_{\theta }\) for \(\theta =\frac{-\ell (\mu _{\ell }-\nu _{\ell })}{(\ell -1)(\mu _{\ell }-\lambda _{\ell })}\) then, \(\theta \) is a root of both p(x) and \(p'(x)\), and so it is a root of multiplicity at least two of p(x). Because all other eigenvalues besides k and \(\theta \) are simple roots of the Hoffman polynomial, and \(\theta \) is a root of multiplicity two in the Hoffman polynomial, also in this case the Hoffman polynomial h(x) divides p(x).

Now, let \(g(x)=p(x)/h(x)\). Because g(x) is a polynomial, it follows that \(p(A)=g(A)h(A)=g(A)J=g(k)J\). By multiplying with the all-ones vector and condition \(\mathrm{(iii)}\), this implies that \(\mu _{\ell }n= p(k)=g(k)n\), and hence, we obtain that \(p(A)=\mu _{\ell }J\). Thus \(\varGamma \) is strongly \(\ell \)-walk-regular with parameters \((\lambda _{\ell },\mu _{\ell },\nu _{\ell })\). \(\square \)

Like in the undirected case, we obtain the following result from the above proof.

Corollary 5.3

Let \(\ell >1\). A strongly connected regular digraph is strongly \(\ell \)-walk-regular if and only if its Hoffman polynomial divides the polynomial \(x^{\ell }+ex+f\) for some integers e and f.

Because we can bound the number of real roots of \(x^{\ell }+ex+f\), this has consequences for the number of real roots of the Hoffman polynomial, and hence, for the number of distinct real eigenvalues of a strongly walk-regular digraph. The bound is as follows.

Lemma 5.4

[14] Let \(\ell >1\), and let \(p(x)=x^{\ell }+ex+f\) for some real e and f. Then, p has at most three real roots. If \(\ell \) is even, then p has at most two real roots.

Note that the counted number of real roots includes multiplicities of these roots. We thus obtain the following from Corollary 5.3.

Proposition 5.5

Let \(\varGamma \) be strongly connected, regular, and strongly \(\ell \)-walk-regular with \(\ell >1\). Then, the Hoffman polynomial of \(\varGamma \) has at most three real roots. Moreover, if \(\ell \) is even, then it has at most two real roots.

We will now give three more results that follow from Proposition 5.2. We will use these in the next sections.

Proposition 5.6

Let \(\varGamma \) be a strongly connected k-regular digraph on n vertices with at least three distinct eigenvalues, and let \(\ell >1\). Then, \(\varGamma \) is strongly \(\ell \)-walk-regular with parameters \((\lambda _{\ell },\mu _{\ell },\nu _{\ell })\) if and only if all of the following conditions hold:

  1. (i)

    Either \(\varGamma \in \mathcal {D}\) or \((\frac{\mu _{\ell }-\nu _{\ell }}{\ell -1})^{\ell -1}=(\frac{\mu _{\ell }-\lambda _{\ell }}{-\ell })^{\ell }\) and \(\varGamma \in \mathcal {D}_{\theta }\) for \(\theta =\frac{-\ell (\mu _{\ell }-\nu _{\ell })}{(\ell -1)(\mu _{\ell }-\lambda _{\ell })};\)

  2. (ii)

    For every two distinct eigenvalues \(\theta _1,\theta _2\ne k\),

    $$\begin{aligned} \mu _{\ell }-\lambda _{\ell }=\frac{\theta _2^{\ell }-\theta _1^{\ell }}{\theta _1-\theta _2}\quad {and}\quad \mu _{\ell }-\nu _{\ell }=\frac{\theta _2\theta _1^{\ell }-\theta _1\theta _2^{\ell }}{\theta _1-\theta _2}; \end{aligned}$$
    (5.2)
  3. (iii)

    And

    $$\begin{aligned} k^{\ell }+(\mu _{\ell }-\lambda _{\ell })k+\mu _{\ell }-\nu _{\ell }=\mu _{\ell }n. \end{aligned}$$

Proof

Let \(\theta _1,\theta _2\ne k\) be two distinct eigenvalues of \(\varGamma \). Then, it is straightforward to show that (5.2) holds if and only if \(\theta _1\) and \(\theta _2\) are roots of the equation \(x^{\ell }+(\mu _{\ell }-\lambda _{\ell })x+\mu _{\ell }-\nu _{\ell }=0\). This implies that condition (ii) of Proposition 5.2 is equivalent to the property that (5.2) holds for every two distinct eigenvalues \(\theta _1,\theta _2\ne k\), which is all we have to show. \(\square \)

Note that the restriction on \(\varGamma \) having at least three distinct eigenvalues is not really necessary. It is not so hard to see that a strongly connected digraph with (at most) two distinct eigenvalues must be a complete digraph (i.e., \(A=J-I\)), and this satisfies the conditions of the proposition.

Corollary 5.7

Let \(\varGamma \) be a strongly connected k-regular digraph with at least four distinct eigenvalues, and let \(\ell >1\). If \(\varGamma \) is strongly \(\ell \)-walk-regular, then

$$\begin{aligned} (\theta _2-\theta _3)\theta _1^{\ell }+(\theta _3-\theta _1)\theta _2^{\ell }+(\theta _1-\theta _2)\theta _3^{\ell }=0 \end{aligned}$$
(5.3)

for every three distinct eigenvalues \(\theta _1,\theta _2,\theta _3\ne k\).

Proof

From (5.2), it follows that \(\frac{\theta _2^{\ell }-\theta _1^{\ell }}{\theta _1-\theta _2}=\frac{\theta _3^{\ell }-\theta _1^{\ell }}{\theta _1-\theta _3}\), and by working this out, (5.3) follows. \(\square \)

Lemma 5.8

Let \(\varGamma \) be a strongly connected k-regular digraph that is strongly \(\ell \)-walk-regular with \(\ell >1\). If \(\varGamma \in \mathcal {D}_{\theta }\), then

$$\begin{aligned} \ell \theta ^{\ell -1}(\theta -\eta )=\theta ^{\ell }-\eta ^{\ell } \end{aligned}$$
(5.4)

for every eigenvalue \(\eta \ne k\).

Proof

From Proposition 5.2, it follows that \(\eta ^{\ell }+(\mu _{\ell }-\lambda _{\ell })\eta +\mu _{\ell }-\nu _{\ell }=0\). By using (5.1), it now follows that \(\ell \theta ^{\ell -1}(\theta -\eta )=\theta ^{\ell }-\eta ^{\ell }\). \(\square \)

6 Digraphs with all eigenvalues real

In this section, we will consider the digraphs that have real eigenvalues only. The case that \(\ell \) is even is then easy.

Proposition 6.1

Let \(\varGamma \) be a strongly connected regular digraph with all eigenvalues real, and let \(\ell \) be even. Then, \(\varGamma \) is strongly \(\ell \)-walk-regular if and only if \(\varGamma \) is strongly regular.

Proof

Assume that \(\varGamma \) is strongly \(\ell \)-walk-regular. Because \(\ell \) is even and all eigenvalues are real, it follows from Proposition 5.5 that the Hoffman polynomial of \(\varGamma \) has at most two roots (including multiplicities), and hence, \(\varGamma \) is strongly regular. On the other hand, we already observed in Proposition 3.2 that a strongly regular digraph is strongly \(\ell \)-walk-regular for every \(\ell \). \(\square \)

For \(\ell \) odd, we will distinguish between diagonalizable digraphs and the others.

6.1 Diagonalizable digraphs

Let \(\varGamma \) be diagonalizable with all eigenvalues real, and suppose that \(\varGamma \) is strongly connected, k-regular, and strongly \(\ell \)-walk-regular, but not strongly regular. Then, \(\ell \) is odd and it follows by Proposition 5.5 that \(\varGamma \) has four distinct eigenvalues \(k>\theta _1>\theta _2>\theta _3\). The theory that was developed for strongly walk-regular undirected graphs with four eigenvalues in [14, Section 4] can almost literally be extended to this case. In particular, we obtain the following results.

Proposition 6.2

Let \(\varGamma \) be a strongly connected k-regular diagonalizable digraph with all eigenvalues real. If \(\varGamma \) is strongly \(\ell \)-walk-regular but not strongly regular, then \(\ell \) is odd, \(\varGamma \) has four distinct real eigenvalues \(k>\theta _1>\theta _2>\theta _3\), and

  1. (i)

    \(\varGamma \) is strongly 3-walk-regular if and only if \(\theta _1+\theta _2+\theta _3=0\);

  2. (ii)

    If \(\theta _2=0\) and \(\theta _3=-\theta _1\), then \(\varGamma \) is strongly \(\ell \)-walk-regular for every odd \(\ell \), and

  3. (iii)

    If \(\theta _2 \ne 0\) or \(\theta _3 \ne -\theta _1\), then there is at most one \(\ell >1\) such that \(\varGamma \) is strongly \(\ell \)-walk-regular.

Proof

The arguments for \(\mathrm{(i)}\), \(\mathrm{(ii)}\), and \(\mathrm{(iii)}\) are similar as those for [14, Prop. 4.1], [14, Prop. 4.2], and [14, Thm. 4.4], respectively. \(\square \)

As in the undirected case, we can construct examples of strongly walk-regular digraphs by product constructions. Other examples are obtained by using line digraphs. The undirected version of this, the usual line graph, did not provide examples in the undirected case.

Example 4

Consider a strongly regular digraph \(\varGamma \) with parameters \((n, k, t, \lambda , \mu )\), for which \(\lambda =\mu \ne t\). An infinite family of such digraphs was constructed by Jørgensen [11] (see also [3, Construction T4] and Example 7). If A is the adjacency matrix of such a digraph, and \(q>1\), then the digraph with adjacency matrix \(A \otimes J_q\) is diagonalizable with four distinct eigenvalues qk, \(\pm q \sqrt{t-\mu }\), and 0. So it is strongly \(\ell \)-walk-regular for every odd \(\ell \).

Also the line digraph of \(\varGamma \) is diagonalizable with four distinct eigenvalues: k, \(\pm \sqrt{t-\mu }\), and 0, because the eigenvalues of a digraph and its line digraph only differ in the eigenvalues 0, see Sect. 2.1. So also the line digraph of \(\varGamma \) is strongly \(\ell \)-walk-regular for every odd \(\ell \). We remark finally that one could even combine the product construction and the line digraph construction (repeatedly).

Example 5

Consider a strongly regular digraph \(\varGamma \) with parameters \((n, k, t, \lambda , \mu )\), for which \(t>\mu =\lambda +1\) (see [3, Construction M4] for an infinite family). Denote its eigenvalues by k, r, and s, then \(r+s=-1\) and \(r,s \ne 0\). Let A be the adjacency matrix of such a digraph, then the digraph with adjacency matrix \(J_{3n}-I-A \otimes J_3\) is diagonalizable with four distinct eigenvalues \(3n-1-3k,3r+2,-1,-1-3r\). So it is a strongly \(\ell \)-walk-regular digraph only for \(\ell =3\). Also here variations are possible by using line digraphs, for example by first taking the line digraph of \(\varGamma \), with adjacency matrix B and then construct the digraph with adjacency matrix \(J_{3nk}-I-B \otimes J_3\).

It would be interesting, as in the undirected case, to also find examples that are strongly \(\ell \)-walk-regular for precisely one \(\ell \) with \(\ell >3\) (and \(\mu _{\ell }>0\); see Example 3 for such digraphs with \(\mu _{\ell }=0\)).

6.2 Non-diagonalizable digraphs

Using the earlier examples from Sect. 2.3 and the Kronecker product again, we can construct examples of non-diagonalizable strongly walk-regular digraphs.

Example 6

Let A be the adjacency matrix of a regular digraph on six vertices with Hoffman polynomial \(x^2(x+1)\) (see Sect. 2.3 for three such examples). Then, the digraph with adjacency matrix \(J_{18}-I-A\otimes J_3\) has Hoffman polynomial \(x^3-3x-2\). Indeed, it has distinct eigenvalues 11, 2, and \(-1\), with \(-1\) having multiplicity two in the minimal polynomial. So it is a strongly 3-walk-regular digraph with three eigenvalues that is in \(\mathcal {D}_{-1}\). It has the same spectrum as a strongly regular digraph that is constructed in the same way from the strongly regular digraph on six vertices that was mentioned in Sect. 2.3. It can be shown that the non-diagonalizable digraph is strongly \(\ell \)-walk-regular only for \(\ell =3\), following the approach of the proof of the next result.

Proposition 6.3

Let \(\varGamma \) be a non-diagonalizable strongly connected regular digraph with all eigenvalues real. Then, \(\varGamma \) is strongly \(\ell \)-walk-regular for at most two values of \(\ell \), and these \(\ell \) are odd.

Proof

Assume that \(\varGamma \in \mathcal {D}_{\theta }\) is strongly \(\ell \)-walk-regular, and let \(\eta \ne \theta ,k\) be another real eigenvalue. Suppose that \(\varGamma \) is also strongly m-walk-regular, then \(\ell \theta ^{\ell -1}(\theta -\eta )=\theta ^{\ell }-\eta ^{\ell }\) and \(m \theta ^{m-1}(\theta -\eta )=\theta ^{m}-\eta ^{m}\) according to Lemma 5.8. By combining these two equations, it follows that

$$\begin{aligned} \ell \left( 1-\left( \eta /\theta \right) ^m\right) =m\left( 1-\left( \eta /\theta \right) ^{\ell }\right) . \end{aligned}$$

Now, let \(\xi =|\eta /\theta |\), \(\epsilon = \mathrm{sign} (\eta /\theta )\), and \(f(x)=\ell (1-\epsilon \xi ^x)-x(1-\epsilon \xi ^{\ell })\). Then, \(f(m)=0\) and \(f(\ell )=0\) because m and \(\ell \) are odd (by Proposition 6.1). We now aim to show that the equation \(f(x)=0\) has at most two solutions, because that would finish the proof. Indeed, this follows from the fact that \(f''(x)\) is always positive, or always negative, depending on \(\epsilon \), unless \(\eta =-\theta \). In this exceptional case, however, \(f(x)=2\ell -2x\), so it has only one root. \(\square \)

We would not be surprised if it can be shown that a non-diagonalizable strongly connected digraph with all eigenvalues real can be strongly \(\ell \)-walk-regular for at most one \(\ell \). For the digraph of Example 6, we find that the function f from the above proof satisfies \(f(x)=3(1+2^x)-9x\), and it is easy to show that this has only one integral root.

7 Digraphs with non-real eigenvalues

In this section, we consider strongly walk-regular digraphs with non-real eigenvalues. Doubly regular tournaments, or equivalently strongly regular digraphs with \(t=0\) are examples of these: If n is the number of vertices, then the eigenvalues are \(k=\frac{1}{2}(n-1)\) and \(-\frac{1}{2} \pm \frac{1}{2} \sqrt{-n}\) (this follows for example from the proof of [7, Thm. 2.2]). Clearly also the directed cycle (see Example 1) and the digraphs of Example 2 have non-real eigenvalues.

Hoffman (unpublished) posed the problem of constructing digraphs with unique walks of length 3. Lam and van Lint [13] generalized this by considering directed graphs with unique walks of fixed length (m say), that is, with adjacency matrix A satisfying \(A^{m}=J-I\). This is a very particular case of our strongly walk-regular digraphs (with \(\mu _m=\lambda _m=1\) and \(\nu _m=0\)), whose eigenvalues different from k satisfy the equation \(x^{m}=-1\). In particular, they showed that there are no such digraphs for even m and constructed k-regular digraphs for every odd m on \(k^{m}+1\) vertices. In order to generalize their example, we use the following lemma.

Lemma 7.1

Let \(\ell \ge 1\), \(k \ge 2\), and \(W=\{\sum _{i=0}^{\ell -1} a_i(-k)^i:a_0,a_1,\dots ,a_{\ell -1} \in \{1,2,\dots ,k\}\}\). Then \(W=\{1,2,\dots ,k^{\ell }\}\) if \(\ell \) is odd, and \(W=\{0,-1,-2,\dots ,-k^{\ell }+1\}\) if \(\ell \) is even.

Proof

This follows easily by induction on \(\ell \). \(\square \)

Now, we can generalize the construction of Lam and van Lint [13] to include even m.

Example 7

Let \(k \ge 2\), \(m \ge 2\), and \(n=k^{m}-(-1)^m\). The vertex set of \(\varGamma \) is \(\mathbb {Z}_n\), and a vertex u is adjacent to a vertex v if \(ku+v \in \{1,2,\dots ,k\}\). This is an example of a so-called \((-k)\)-circulant graph (see [12]). Note that n has a factor \(k+1\), which implies that there are no loops, i.e., no vertex is adjacent to itself.

Lam and van Lint [13] showed that for \(m=3\) and \(k=2\), this digraph \(\varGamma \) on nine vertices (which is depicted in their Fig. 3) is in fact the only 2-regular digraph satisfying the equation \(A^3=J-I\). Its eigenvalues are 2, \(-1\) with multiplicity 4, and \(\frac{1}{2} \pm \frac{1}{2} \sqrt{-3}\) with multiplicity 2 each. It follows that \(\varGamma \) is strongly \(\ell \)-walk-regular for \(\ell \equiv 0\) and \(1 \text { (mod 3)}\).

In general, observe (by induction) that there is a walk of length \(\ell \) from a vertex \(u_0\) to a vertex \(u_{\ell }\) if and only if there is an \(\ell \)-tuple \((a_0,a_1,\dots ,a_{\ell -1}) \in \{1,2,\dots ,k\}^{\ell }\) such that \(u_0=\sum _{i=0}^{\ell -1} a_i(-k)^i +(-k)^{\ell }u_{\ell }\). In fact, this gives a one-one correspondence between \(\{1,2,\dots ,k\}^{\ell }\) and the walks of length \(\ell \) starting at \(u_0\). By Lemma 7.1, it now follows that \(A^m=J+(-1)^mI\).

To conclude that the Hoffman polynomial of \(\varGamma \) is \(x^m-(-1)^m\) (and not a proper divisor), we claim that the diameter D is at least m. To show this, observe that \(A^i\) has row sums \(k^i\); hence, every vertex has at most \(1+k+\cdots +k^{m-1}\) vertices at distance at most \(m-1\). However, \((A^2)_{00}=1\), which implies that vertex 0 has at most \(k+\cdots +k^{m-1}\) vertices at distance \(m-1\). Because this number is smaller than n, this indeed shows that \(D \ge m\), and hence, the Hoffman polynomial has degree at least m and therefore must be \(x^m-(-1)^m\). Thus, the eigenvalues of \(\varGamma \) are k and the complex \(m{\mathrm{th}}\)-roots of \((-1)^m\) (including \(-1\) itself). It also follows that \(\varGamma \) is strongly \(\ell \)-walk-regular for \(\ell \equiv 0\) and \(1 \text { (mod }m)\).

Note that using circulants, Lam [12] constructed several other 01-matrices A such that \(A^{m}\) is a linear combination of J and I; however, as digraphs they have loops (that is, A does have ones on the diagonal). Note also that the particular case \(m=2\) is not new: Jørgensen [11] constructed these strongly regular digraphs, unaware of Lam’s work.

By taking the product of above examples and the all-ones matrix or their line digraphs, thus adding an eigenvalue 0, we get examples with the maximum number of real eigenvalues.

Example 8

Let A be the adjacency matrix of a digraph such that \(A^{m}\) is a linear combination of I and J (so with \(\mu _m=\lambda _m\)), as in Examples 7. Then, both its line digraph and the digraph with adjacency matrix \(A \otimes J\) are strongly \((m+1)\)-walk-regular. Besides the eigenvalues of A, they have an extra eigenvalue 0, so starting from the digraphs of Example 7, we obtain examples of strongly walk-regular digraphs with three and four real eigenvalues, which is the maximum number according to Proposition 5.5. Moreover, these digraphs are strongly \(\ell \)-walk-regular for \(\ell \equiv 1 \text { (mod }m)\).

Examples 7 and 8 show the typical behavior of the digraphs with a non-real eigenvalue that are strongly \(\ell \)-walk-regular for infinitely many \(\ell \), as we shall see in the next result.

Theorem 7.2

Let \(\varGamma \) be a strongly connected regular digraph with at least one non-real eigenvalue. If \(\varGamma \) is strongly \(\ell \)-walk-regular for infinitely many \(\ell \), then one of the following cases holds:

  1. (i)

    \(\varGamma \) is a doubly regular tournament;

  2. (ii)

    \(\mu _{\ell }=\lambda _{\ell }\) or \(\mu _{\ell }=\nu _{\ell }\) for every \(\ell \) for which \(\varGamma \) is strongly \(\ell \)-walk-regular;

  3. (iii)

    \(\varGamma \) is k-regular with four distinct eigenvalues \(k,\rho e^{\pm i\varphi }\), and \(\theta \), where \(\theta \) is real and \(0<|\theta |<\rho \le k\).

Proof

Let \(\varGamma \) be a k-regular strongly \(\ell \)-walk-regular digraph, with a non-real eigenvalue \(\rho e^{i \varphi }\), where \(\rho >0\) and \(\sin \varphi \ne 0\). Also its complex conjugate \(\rho e^{-i \varphi }\) is an eigenvalue of \(\varGamma \), and by applying (5.2), it follows that

$$\begin{aligned} \mu _{\ell }-\lambda _{\ell }=-\frac{\sin \ell \varphi }{\sin \varphi }\rho ^{\ell -1}\quad \mathrm{and}\quad \mu _{\ell }-\nu _{\ell }=\frac{\sin (\ell -1) \varphi }{\sin \varphi }\rho ^{\ell }. \end{aligned}$$
(7.1)

If \(\varGamma \) has only three distinct eigenvalues, then it is diagonalizable by Proposition 5.1, and hence, it is strongly regular, and hence, case (i) holds.

So we may assume from now on that \(\varGamma \) has at least four distinct eigenvalues, in particular let \(\theta \) be another eigenvalue. By applying Corollary 5.7, we find that

$$\begin{aligned} \left( \frac{\theta }{\rho }\right) ^{\ell } \sin \varphi =\frac{\theta }{\rho } \sin \ell \varphi - \sin (\ell -1)\varphi . \end{aligned}$$
(7.2)

Because this equation holds for infinitely many \(\ell \) and its right hand side is bounded in \(\ell \), it follows that \(|\theta | \le \rho \).

We now first consider the case that \(\theta \) is non-real and aim to show that \(\mu _{\ell }=\lambda _{\ell }\) or \(\mu _{\ell }=\nu _{\ell }\). By interchanging the roles of the eigenvalues in the above argument, it follows that \(|\theta |=\rho \), and hence, \(\theta =\rho e^{i\varphi ^*}\) for some \(\varphi ^*\) with \(\sin \varphi ^* \ne 0\) and \(\cos \varphi ^* \ne \cos \varphi \). Now, (7.2) reduces to the following two equations:

$$\begin{aligned} \sin \ell \varphi ^* \sin \varphi= & {} \sin \varphi ^* \sin \ell \varphi ,\end{aligned}$$
(7.3)
$$\begin{aligned} \cos \ell \varphi ^* \sin \varphi= & {} \cos \varphi ^* \sin \ell \varphi - \sin (\ell -1)\varphi . \end{aligned}$$
(7.4)

Now, let \(r=\sin \ell \varphi /\sin \varphi \). If \(r=0\), then by (7.1), we indeed have that \(\mu _{\ell }=\lambda _{\ell }\). So we may assume that \(r \ne 0\). Then, (7.3) and (7.4) imply that

$$\begin{aligned} r=\frac{\sin \ell \varphi ^*}{\sin \varphi ^*} = \frac{\cos \ell \varphi -\cos \ell \varphi ^*}{\cos \varphi -\cos \varphi ^*}. \end{aligned}$$
(7.5)

If \(\sin \varphi ^*= \pm \sin \varphi \), then \(\varphi ^*= \pm \varphi +\pi \), and then (7.5) implies that \(\tan \ell \varphi =\tan \varphi \), so \((\ell -1) \varphi \) is a multiple of \(\pi \). Now, (7.1) indeed implies that \(\mu _{\ell }=\nu _{\ell }\).

If \(\sin \varphi ^* \ne \pm \sin \varphi \), then (7.5) also implies that

$$\begin{aligned} \frac{\cos \ell \varphi -\cos \ell \varphi ^*}{\cos \varphi -\cos \varphi ^*}=\frac{\sin \ell \varphi -\sin \ell \varphi ^*}{\sin \varphi -\sin \varphi ^*} =\frac{\sin \ell \varphi +\sin \ell \varphi ^*}{\sin \varphi +\sin \varphi ^*}. \end{aligned}$$

Using these equations and sum-to-product trigonometric formulas, it follows that

$$\begin{aligned} \tan \ell \left( \frac{\varphi +\varphi ^*}{2}\right) =\tan \frac{\varphi +\varphi ^*}{2} \quad \mathrm{and}\quad \tan \ell \left( \frac{\varphi -\varphi ^*}{2}\right) =\tan \frac{\varphi -\varphi ^*}{2}, \end{aligned}$$

which again shows that \((\ell -1) \varphi \) is a multiple of \(\pi \) and hence that \(\mu _{\ell }=\nu _{\ell }\).

Next, assume that \(\theta \) is real, with \(|\theta |=\rho \). For the sake of readability, we will only consider the case that \(\theta =\rho \). The case that \(\theta =-\rho \) is similar, but a bit more technical. So we let \(\theta =\rho \). Now (7.2) reduces to

$$\begin{aligned} \sin \varphi =\sin \ell \varphi -\sin (\ell -1)\varphi , \end{aligned}$$

which is equivalent to

$$\begin{aligned} \sin \frac{\varphi }{2}\cos \frac{\varphi }{2}=\sin \frac{\varphi }{2}\cos \frac{(2\ell -1)\varphi }{2}. \end{aligned}$$

Because \(\sin \frac{\varphi }{2}\ne 0\), this implies that \(\ell \varphi \) or \((\ell -1)\varphi \) is a multiple of \(2\pi \), and hence by (7.1), we indeed have that \(\mu _{\ell }=\lambda _{\ell }\) or \(\mu _{\ell }=\nu _{\ell }\).

Also the case that \(\theta =0\) gives case (ii). Indeed, if \(\theta =0\), then (7.2) implies that \(\sin (\ell -1) \varphi =0\) and hence that \(\mu _{\ell }=\nu _{\ell }\) by (7.1).

Finally, assume that we are not in any of the above cases and hence that \(\theta \) is real, with \(0<|\theta |<\rho \). We can rewrite (7.2) as

$$\begin{aligned} \left( \tfrac{\theta }{\rho }\right) ^{\ell } =\left( \tfrac{\theta }{\rho }-\cos \varphi \right) \sin \ell \varphi / \sin \varphi + \cos \ell \varphi . \end{aligned}$$
(7.6)

This implies that if \(\{\ell _i\}_{i=1}^{\infty }\) is an increasing sequence such that \(\varGamma \) is strongly \(\ell _i\)-walk-regular for every i, and \(\lim _{i\rightarrow \infty }\sin \ell _i\varphi =0\), then also \(\lim _{i\rightarrow \infty }\cos \ell _i\varphi =0\), which is a contradiction. Thus, there is an increasing sequence \(\{\ell _i\}_{i=1}^{\infty }\) such that \(\varGamma \) is strongly \(\ell _i\)-walk-regular and for which \(|\sin \ell _i \varphi |>\delta \) for every i and some \(\delta >0\). Now, it follows from (7.6) that \(\lim _{i\rightarrow \infty }\cot \ell _i\varphi =(\cos \varphi -\theta /\rho )/\sin \varphi \). Thus, \(\theta \) is determined by this equation, and hence, we have the final case of the statement. \(\square \)

Corollary 7.3

Let \(\ell ^*>1\) and let \(\varGamma \) be a strongly connected regular digraph that is strongly \(\ell ^*\)-walk-regular with \(\mu _{\ell ^*}=\lambda _{\ell ^*}\) or \(\mu _{\ell ^*}=\nu _{\ell ^*}\), such that \(\varGamma \) is not strongly regular. Then, \(\varGamma \) is strongly \(\ell \)-walk-regular for infinitely many \(\ell \), and \(\mu _{\ell }=\lambda _{\ell }\) or \(\mu _{\ell }=\nu _{\ell }\) for each \(\ell \) such that \(\varGamma \) is strongly \(\ell \)-walk-regular. Moreover, if m is the smallest integer such that \(\varGamma \) is strongly m-walk-regular with \(m>1\), then the following holds:

  1. (i)

    If \(\mu _m=\lambda _m\), then \(\varGamma \) is strongly \(\ell \)-walk-regular for every \(\ell \equiv 0\) and \(1 (mod m)\);

  2. (ii)

    If \(\mu _m=\nu _m\), then \(\varGamma \) is strongly \(\ell \)-walk-regular for every \(\ell \equiv 1 (mod m-1)\);

Proof

If \(\mu _{\ell ^*}=\lambda _{\ell ^*}\), then \(A^{\ell ^*} \in \langle I,J \rangle \), which clearly implies that \(\varGamma \) is strongly \(\ell \)-walk-regular for every \(\ell \equiv 0\) and \(1 (mod \ell ^*)\). If \(\mu _{\ell ^*}=\nu _{\ell ^*}\), then \(A^{\ell ^*} \in \langle A,J \rangle \), which implies that \(\varGamma \) is strongly \(\ell \)-walk-regular for every \(\ell \equiv 1 (mod \ell ^*-1)\). Moreover, in both cases, each nonzero eigenvalue of \(\varGamma \) must have the same absolute value and has multiplicity one in the Hoffman polynomial, so \(\varGamma \) is diagonalizable. Hence, if \(\varGamma \) has non-real eigenvalues, then by Theorem 7.2 the result follows. If \(\varGamma \) has real eigenvalues only, then it must have three distinct eigenvalues besides the degree, and these must be 0 and \(\pm \rho \) for some \(\rho \). In this case, it follows that \(m=3\) and \(\varGamma \) is strongly \(\ell \)-walk-regular for every odd \(\ell \), with \(\mu _{\ell }=\nu _{\ell }\), see also Sect. 6.1. \(\square \)

Because the sum of the two non-trivial eigenvalues of a doubly regular tournament is \(-1\), we can apply the same construction methods as in Examples 5 and 6. In this case, we obtain examples with eigenvalues as in the final case of Theorem 7.2.

Example 9

Consider a doubly regular tournament on n vertices and let A be its adjacency matrix. As mentioned before, its eigenvalues are \(k=\frac{1}{2}(n-1)\) and \(-\frac{1}{2} \pm \frac{1}{2} \sqrt{-n}\). Then, the digraph with adjacency matrix \(J_{3n}-I-A \otimes J_3\) has distinct eigenvalues \(\frac{3n+1}{2}, \frac{1}{2} \pm \frac{3}{2} \sqrt{-n}\), and \(-1\). It thus follows from the Hoffman polynomial that it is strongly 3-walk-regular.

We suspect, however, that the digraphs of this example are only strongly \(\ell \)-walk-regular for \(\ell =3\). It would therefore be interesting to find examples for case (iii) of Theorem 7.2 that are strongly \(\ell \)-walk-regular for infinitely many \(\ell \) or to show that no such examples exist.