Abstract
Consider the graph with the residue classes modulo n as vertices, and the following edges: “additive” edges from a to a + 1; “multiplicative” edges from a to ab for some fixed b. This graph illustrates a criterion for divisibility by n for numbers written in base b. By varying n and b, we see a great variety of structures: this topic connects arithmetic to graph theory and has the beauty of string art. For divisibility graphs we investigate the existence of triangles and other cycles, the girth, the minimum/maximum of the vertex degree, the chromatic number, and the planarity.
1 Introduction
It is natural to display the residue classes modulo n as the vertices of a regular n-gon in cyclic order. Thus adding 1 to a residue lets us move to the next residue along a side of the n-gon, while multiplying by some integer b lets us usually move along a diagonal of the n-gon (occasionally we move along a side or we do not move at all). The divisibility graph , which is the object of our investigation, is the graph defined as follows: its vertices are the vertices of the regular n-gon; the “additive” edges are the oriented sides from a to a + 1; the “multiplicative” edges go from a to ba and are usually diagonals (occasionally they can be a loop or a side). Our goal is to study the family of divisibility graphs by varying n and b: as expected, the graph properties depend on the arithmetic properties of the pair n, b. We also consider the corresponding simplified graphs , where double edges and loops are removed and edge orientation is neglected. For divisibility graphs, we investigate the existence of cycles (triangles and rectangles in the canonical representation), the girth, the minimum/maximum vertex degree, the chromatic number, and planarity. See Section 2 for a summary of our results.
One motivation for considering the graph is that, for , it illustrates a divisibility criterion for an integer to be divisible by n that makes use of the digits in base b, see Remark 2. It seems that divisibility graphs were introduced by David Wilson in 2009 to illustrate the divisibility criterion for n = 7 in base b = 10, according to Tanya Khovanova [Citation4]. Another motivation for studying these graphs is that they connect graph theory with arithmetic in a fascinating way, and they are beautiful objects with a great variety of structures by varying n and b, see, for example, .
Considering only the multiplicative edges of , one obtains the graph of modular multiplication by b, which has previously been considered to popularize mathematics. These other graphs are optically similar, as to obtain back one only needs to include all sides of the n-gon. Nevertheless, the graph structures are very different: for example, having the additive edges ensures the existence of cycles. These other graphs are not our object of study, so we refer the reader to the book by Daniel Shanks [Citation9] and to online resources like [Citation6, Citation7]. In particular, these works provide a geometrical explanation for the -foil pattern that will also be seen in our divisibility graphs, see . Let us also mention the existence of websites like [Citation5] which show the graph of modular multiplication by b, all based on the parameters n and b entered by the user.
There is still a great deal to explore about divisibility graphs, and this work seems to offer the first deep investigation on the subject. Beyond our conjectures, some of our results can be improved upon, and there are surely features of divisibility graphs that we have not yet considered. We hope that some of our readers will embrace this challenge. Moreover, we hope that many readers introduce divisibility graphs to a wider audience, because it is an accessible topic (related to known divisibility criteria) that connects arithmetic to graph theory and that possesses the beauty of string art.
2 Mathematical Overview
Definition 1.
Given two integers n, b with , the divisibility graph is the directed multigraph with vertices for and with the following edges: additive edges from to ; multiplicative edges from to . The simplified divisibility graph is obtained from by neglecting edge directions and by removing loops and double edges.
We canonically represent the vertices of a divisibility graph as the vertices of a regular polygon in cyclic order, see for example .
Replacing b by its remainder modulo n does not affect the divisibility graph. Thus, to avoid trivial cases, we will assume that and . Moreover, we shall denote a vertex by any integer in the given residue class modulo n.
Remark 2.
The divisibility graph provides a divisibility criterion by n considering the digits of a number expressed in base b. This is because the number (with ) corresponds to the end vertex of the following walk in : start at 0; for , take ci additive edges and in case i > 0, take one more multiplicative edge. This assertion can be proven by induction on k: the base case k = 0 is obvious; for the induction step, write the given number as with , and complete the known walk for a by taking one multiplicative edge and c0 additive edges.
For example, is divisible by 7 because in we walk from 0 to 0 by taking two additive edges, one multiplicative edge, one additive edge, and once more a multiplicative edge, see .
To ease notation, we call d the greatest common divisor of n and b, we understand that congruences are modulo n (unless specified otherwise), we call an integer a unit if its residue class modulo n is a unit, and we say that two edges overlap if, neglecting their orientation, they coincide. We now recall some notions from graph theory (for references, see for example [Citation1, Citation3]).
Definition 3.
Let G be an undirected graph. A triangle in G is a cycle of length 3. The girth of G is the length of a smallest cycle. The vertex degree for a vertex a of G is the number of incident edges. We denote by (respectively, ) the minimum (respectively, maximum) degree, namely the minimum (respectively, maximum) among all vertex degrees. The chromatic number of G, denoted by , is the smallest positive integer k such that G admits a k-coloring, namely a map from the vertex set to such that any two adjacent vertices have distinct images. The graph G is called planar if it can be drawn on the plane without crossing edges.
Our main results are the following assertions:
Main Theorem. For simplified divisibility graphs, the following hold:
The graph contains a triangle for every b if and only if n = 4, n is prime, or n is a power of 3.
There is a rectangle in the canonical representation of for some value if and only if n = 4 or .
The girth of is at most 7. It is at most 5 if , and at most 4 if . The girth equals 3 if b–1 is a unit or or .
We have and . Moreover, we have if and only if b or b–1 is a unit. Further, all vertex degrees in lie in .
We have . Further, holds if and only if and .
The outline of the paper is as follows: after some preliminary results in Section 3, we consider cycles in in Section 4 and the vertex degree in Section 5. Finally, in Sections 6 and 7, we respectively consider the chromatic number of and investigate whether is planar. In particular, we provide evidence for the following two conjectures:
Conjecture 4. We have .
Conjecture 5. For odd, is planar if and only if . For even, is planar if and only if .
3 Preliminaries
We begin with some general observations. For a prime number p, the p-adic valuation of a nonzero integer k is the biggest exponent of p dividing k.
Remark 6.
The simplified divisibility graph (with the additive edges forming a regular n-gon) is symmetric with respect to the line connecting 0 to the center of the n-gon. Indeed, the symmetry maps the n-gon to itself, and it maps the multiplicative edge (a, ba) to the edge .
Moreover, passes through the center of the n-gon if and only if for the 2-adic valuation we have . Indeed, we precisely need the congruence to be solvable. Notice that in (see ) the multiplicative edges do not connect vertices that are almost opposite.
Remark 7.
Consider the divisibility graph and some vertex a. The outgoing multiplicative edge at a is a loop if and only if , thus we have a loop at 0, and this is the only loop if and only if b–1 is a unit. The outgoing multiplicative edge at a can overlap an additive edge: this happens if and only if , so it happens only if b–1 is a unit and in this case there is precisely one multiplicative edge that equals an additive edge (respectively, the reverse of an additive edge), namely the edge (respectively, the edge ).
Remark 8.
A vertex in has no incoming multiplicative edge unless it is a multiple of d (as n and b are multiples of d), and in this case it has precisely d incoming multiplicative edges (a solution for being given by Bézout’s identity).
Consider the multiplication by b on the residue classes modulo n, represented by the multiplicative edges of . Notice that all vertices are preperiodic under iterates of this map. Moreover, a vertex a is periodic if and only if we have , hence all vertices are periodic if and only if b is a unit.
Notice that the vertices a with the property are precisely the multiples of g, where g is the largest integer of the form for some positive integer x, so that for every prime number p, the p-adic valuation equals if p divides b, and it is 0 otherwise. Then we are claiming that the periodic vertices are precisely the multiples of g. For example, if n is even, then is periodic if and only if b is odd.
A periodic vertex a must be a multiple of g because the quantity does not decrease by increasing x and thus it is constant if a is periodic. Conversely, if is a multiple of g, then the congruence is solvable (because b is a unit modulo ), hence the congruence is solvable and a is periodic.
If G is a graph, then a minor of G is a graph that can be obtained from G by deletion and contraction of edges, as well as deletion of some isolated vertices. Given a subset of the vertices of G, the induced subgraph has precisely those vertices, and it has as edges all edges of G between them.
Remark 9.
If m > 1 is a divisor of n, then is a minor of . Indeed, by contracting the edges between multiples of m we obtain a graph with n/m vertices such that is a subgraph (notice that mod implies for all integers ).
Remark 10.
The subgraph of obtained by removing the additive edges is the union of orbits for the multiplication by b. A periodic orbit is a cycle (possibly consisting of one or two vertices). Two orbits are either disjoint or have their periodic cycle in common. A connected component of is as follows: there is one periodic cycle and attached to each vertex of the cycle there are d–1 vertices outside the cycle (one incoming multiplicative edge belongs to the cycle). Each of the above vertices outside the cycle is the root of a d-ary tree: these trees are pairwise disjoint and do not intersect the cycle.
Remark 11.
If m > 1 is a divisor of n, then we define Gm as the induced subgraph on the vertices of that are multiples of m. Thus Gm can be obtained from (identifying multiples of m modulo n and residue classes modulo n/m) by removing additive edges and loops, and neglecting edge directions. Moreover, Gm can be obtained from as the induced subgraph on the multiples of m, removing loops and neglecting edge directions (for m = d, the induced subgraph only loses leaves with respect to ). An example for Gd can be found in .
4 Cycles
To study cycles, we first classify triangles in according to the number of additive edges:
Table
Lemma 12.
Let n be a positive, composite, odd integer and let p > 3 be a prime factor of n. Then there exists a positive integer such that is coprime to n.
Proof.
If n is a power of p we can take , while if n is a multiple of 3 we can take because n has no prime factor in common with
Finally, if n is coprime to 3 and it has a prime factor q > 3 different from p, we may take for some integer . Indeed, n and can have at most the prime factor q in common and, for some choice of t, the latter integer is not divisible by q: that polynomial in x has at most two roots modulo q, and different choices for t give different values of x modulo q. □
Proof
of Main Theorem 1. For the “if” implication, we can check by hand the case n = 4 and the above classification allows us to deal with prime. Now suppose that n is a power of 3 and write and . If v = 0, we may resort to the above classification, so suppose v > 0. Notice that is an integer and . So the vertices a, ab, ab2 form a triangle, as they are pairwise distinct: because ; , else ; one similarly argues that .
For the “only if” implication, assume that is neither prime, nor a power of 3. If n is even and , then contains no triangle because ab is congruent to a or . Now suppose that n is odd, take p and x as in Lemma 12 and set . There is no triangle in with additive edges because, for instance, implies ; this is impossible because 2 is a unit and p divides n. We also exclude triangles with zero additive edges because means , implying and hence . □
and show that the girth of can be as large as 7. It can, however, not be greater:
Proof
of Main Theorem 3. By the above classification, contains a triangle whenever b–1 is a unit, so we may exclude this case. For or we have the triangle . For , we have the following cycle in (in case two vertices are the same, we take a shorter cycle):
For , we have the cycle . For b not a unit, there is an integer such that we have the cycle (if , we take a cycle of length 4 instead). For b a unit such that , calling a its inverse, we consider the following cycle:
It is of length 5. □
Remark 13.
Consider those triangles inside that are equilateral triangles in the canonical representation, as in . For n > 3 there is such a triangle based at some vertex a if and only if n is divisible by 3 and the three numbers are congruent to . So we must have and . We deduce that there is an equilateral triangle if and only if n = 3 or . Similarly, to find a regular k-gon inside the canonical representation of (beyond n = k) it is necessary and sufficient that for any prime divisor p of k we have .
Now we turn our attention to rectangles in the canonical representation of simplified divisibility graphs. For example contains a rectangle built with sides and diagonals of a regular octagon. Observe that a 4-cycle in forms a rectangle if and only if (i.e., there are two pairs of diametrically opposite vertices). In particular, there is no rectangle in if n is odd hence we will suppose that n is even.
Remark 14.
We present a modification of the criterion due to Neeyanth Kopparapu in [Citation11] to have a rectangle of the form for some vertex a that is a unit. In short, we must have and (in particular, and ). See Remark 16 for a more general criterion for the existence of a k-cycle in .
Having all additive edges in a rectangle is only possible for n = 4. If n > 4 is even, then there is no rectangle in containing an edge which is both additive and multiplicative. Indeed, assume otherwise that a rectangle in contains the edge which is both additive and multiplicative. As n is even, a must be odd and b must be even. We can write the rectangle as . Since , a and are not consecutive modulo n, and thus must be a multiplicative edge, contradicting the parity of a and b. It thus follows that if there are any additive edges in a rectangle of , then two of its edges are additive and two of them are multiplicative. This is treated in the following:
Remark 15.
We classify the rectangles with precisely two edges that are not multiplicative (they must be opposite). If the two multiplicative edges have the same orientation, then the rectangle is without loss of generality of the form with and , which means and . In particular, and we may take . Now suppose that the two parallel edges have opposite orientation, and let be an additive edge. If the multiplicative edge is incoming at x, the vertices are . We have and . Else, the vertices are and we have and . Notice that either contains rectangles of both cases, or of none: given a rectangle of one case, one obtains a rectangle of the other case by replacing its vertices by their opposites modulo n.
Proof
of Main Theorem 2. Clearly there is no rectangle for n = 3, while the additive edges form a square for n = 4. Now suppose that is even. By Remark 15 there is a rectangle in if is odd. Moreover, if , then contains the rectangle where . To conclude we have to prove that there is no rectangle if .
If contains a rectangle of the form , then we must have , so that , hence and b must be odd. Since and is a multiple of 8, also is a multiple of 8 and hence .
If contains a rectangle with two multiplicative edges of the same direction, it holds that and thus .
By Remark 15, the only remaining case to consider is containing a rectangle of the form . We prove that by contradiction. Write . Now and imply , so that and is a multiple of 4k, meaning b is odd. But gives , whose left member is odd, a contradiction. □
We conclude this section with two remarks on k-cycles:
Remark 16.
Let . In [Citation10] Hans-Peter Stricker gives a criterion to have a k-cycle of the form for some vertex a. Replace n by and hence suppose that a is a unit. Then we precisely need that b is a unit with multiplicative order k. So the general criterion becomes that there exists a divisor m of n such that is a unit with multiplicative order k.
Remark 17.
Let . Assume that and that b–1 is a unit. Then there exists a k-cycle: for example, the vertices where form a k-cycle because we have .
5 Vertex Degree
An oriented graph is Eulerian if and only if there are the same number of outgoing and incoming edges at each vertex.
Remark 18.
The graph is Eulerian if and only if b is a unit. Indeed, if b is a unit, then there is precisely one incoming multiplicative edge at every vertex. If b is not a unit, then there is no incoming multiplicative edge at 1.
Remark 19.
The vertex degree is at most 3 for vertices that are not multiples of d by Remark 8. Moreover, by Remark 7, for no additive edge at 0 overlaps a multiplicative edge. Thus the vertex degree at 0 is d + 1 (the outgoing multiplicative edge is a loop).
Proof
of Main Theorem 4. Recall Remark 7. If b is a unit (respectively, b is not a unit and b–1 is a unit), then 0 (respectively, the multiplicative inverse of b–1) has vertex degree 2. Now suppose that b and b–1 are not units: no multiplicative edge overlaps an additive edge; we have because, if the outgoing multiplicative edge is a loop, then there is an incoming multiplicative edge that is not a loop ( implies for any such that ).
We have because at every vertex there are at most d incoming multiplicative edges; we show that the vertex degree of b is at least d + 1. For , the d incoming multiplicative edges are distinct; if one of them is a loop, they do not overlap additive edges ( implies ). Assume both additive edges at b overlap incoming multiplicative edges. Then , in particular implying that . The outgoing multiplicative edge at b thus ends at 0 and is not equal to any incoming multiplicative edge at b. Therefore the vertex degree at b is at least d + 1 in all cases.
Finally, suppose that a is a vertex. If d does not divide a, then by Remark 19. If d does divide a, then by the above argument given for a = b. □
Remark 20.
An integer is a prime power if and only if for all b we have . Indeed, by Main Theorem 4 the latter condition means that, for every integer a, at least one of a and a–1 is a unit (if n had distinct prime factors p, q, then the congruences and have a common solution).
are examples for the three cases in the following result:
Theorem 21.
If b–1 is not a unit, then we have
Proof.
By Remark 19 and Main Theorem 4, to determine we may neglect the vertex 0. Moreover, if d > 1, or if there is a vertex of degree d + 2, then we may neglect the vertices which are not a multiple of d.
If (hence d > 1), then for every k we have hence the vertex degree of kd is d + 1. Now suppose that , and notice that holds if and only if for every integer k we have . The latter condition means that the outgoing multiplicative edge at kd overlaps an incoming multiplicative edge. By our assumption on b–1, the additive edges at d do not overlap multiplicative edges. The result follows. □
Theorem 22.
Suppose that b–1 is a unit. Then holds if and only if either or we have and . Moreover, we have if and only if , and .
Proof.
As in the proof of Theorem 21, we can neglect the vertex 0 and if d > 1, we can also neglect those vertices that are not divisible by d. If , then d = b and b is even, and we only need to remark that the vertex degree for d is d + 1 (the additive edges at d overlap multiplicative ones).
Now suppose . If d = 1, then . Suppose that d > 1 and . Then and b = d or . Since is a unit, if and b = d if . In each case, and . We have and , hence the outgoing multiplicative edge at each of the vertices d and 2d overlaps an incoming multiplicative edge at this vertex. We further note by Remark 7 that exactly two multiplicative edges overlap additive edges, namely the edge and the edge . Then is d or 2d modulo n. If , then , while if . Thus both d and 2d have vertex degree equal to d + 1.
Now suppose that . Then the vertex degree of both d and 2d is equal to d + 2. There are d distinct incoming multiplicative edges and an outgoing multiplicative edge (towards 0) at each of the vertices d and 2d. By our argument above, exactly one multiplicative edge overlaps an additive edge at each of d and 2d. Thus the vertex degree at d and 2d is equal to d + 2. We note that if n = 4, then b = 2 (since is a unit), a case we have already treated. By inspection, we see that for .
Finally, suppose and . By Remark 7, there exist exactly two multiplicative edges that overlap additive edges. Hence there exists k such that the additive edges at kd do not overlap a multiplicative edge at kd. Thus the vertex degree at kd is at least d + 2 for this value of k. If , then for every k, the outgoing multiplicative edge at kd overlaps an incoming multiplicative edge, and the degree of kd is at most d + 2. From now on, supposing , we find a vertex with vertex degree d + 3. We first suppose that d = 1 (thus b is a unit). Then , because b and cannot be both units modulo 6 if . Moreover, there exist three nonconsecutive vertices that are units. If n is odd, this is because we can take the vertices . If n is even, this is because and each unit modulo n is odd. At least one of the three vertices is suitable because there are at most two additive edges that overlap a multiplicative edge.
If , there exists k such that the additive edges at kd do not overlap multiplicative ones. Now suppose , and call .
If , then for we have and hence unless . In particular, (as b–1 is a unit). Thus the vertices are distinct and their outgoing multiplicative edges do not overlap incoming multiplicative edges: they are not connected by additive edges (as d > 1), and for at most two of them an additive edge overlaps a multiplicative edge.
Finally, let and set hence . In particular, the outgoing multiplicative edge at kd does not overlap an additive edge, and neither does an incoming multiplicative edge, else we would have hence , thus , contradiction. □
The maximum and minimum degree in may also coincide:
Theorem 23.
We have if and only if n = 3 and b = 2, in which case all vertex degrees in equal 2, or and , in which case all vertex degrees in equal 3.
Proof.
Assume that . By Main Theorem 4, we have and . Thus if , hence d = 1, 2.
Suppose d = 1. Then b is a unit and by the proof of Main Theorem 4. If b–1 is not a unit, then by Theorem 21, which is impossible. If is a unit, then n = 3 and b = 2 by Theorem 22.
Now suppose that d = 2. Then by Main Theorem 4. Since , we have that . Since , it follows by Main Theorem 4 that is not a unit. We now see by Theorem 21 that . Hence , implying that . Since d = 2, we observe that is even, yielding .
We now show that if and , then in fact we have . Let a be a vertex not divisible by d = 2. Then there are no incoming multiplicative edges at a by Remark 8. The outgoing multiplicative edge at a is . Since , we see that this edge is not an additive edge, and thus . Now suppose that the vertex a is divisible by d = 2. Then and there is a loop at a. Since is not a unit, no multiplicative edge at a overlaps an additive edge by Remark 7. Since there are d = 2 incoming multiplicative edges at a by Remark 8, it follows that in this instance also. □
We were further able to characterize the vertices of degree 2:
Theorem 24.
A vertex a of has degree 2 if and only if one of the following holds:
b is a unit and a = 0.
b is not a unit, is a unit, and or .
b is a unit, is not a unit, and .
n is odd, , and .
Proof.
By the proof of Main Theorem 4, if and only if b or is a unit. Moreover, by the same proof, if b is a unit.
Now suppose that b is not a unit and is a unit. By the proof of Main Theorem 4 and by Remark 7, . Furthermore, the multiplicative edge and the multiplicative edge are the only multiplicative edges that overlap an additive edge. Let a be a vertex such that . Then the outgoing multiplicative edge at a does not overlap an additive edge. Suppose that . Since is a unit, there is no loop at a. Since the outgoing multiplicative edge at a does not overlap an additive edge, we see that . Next suppose that a = 0. Then there is a loop at 0 and the additive edges (0, 1) and are not multiplicative edges. Moreover, there are incoming multiplicative edges at 0. It follows that in this case.
Next suppose that b is a unit and is not a unit. Let a be a vertex such that . Then there is a loop at a. Further, no multiplicative edge at a overlaps an additive edge because is not a unit. Since d = 1, there is exactly one incoming multiplicative edge at a. Thus . Now suppose that a is a vertex such that . Then there is no loop at a. By the argument above, the outgoing edge at a does not overlap an additive edge. Hence in this instance.
Finally, suppose that both b and are units. Then n must be odd and we have d = 1. Let a be a nonzero vertex such that . Since is a unit, there is no loop at a. Since b is a unit, there is exactly one incoming multiplicative edge at a. It follows that if and only if the incoming multiplicative edge at a is an additive edge and the outgoing multiplicative edge at a is also an additive edge. Since is a unit, it follows by Remark 7 that the edges and are the only multiplicative edges that overlap an additive edge. Thus, if and only if , which implies that . It now follows that . Hence and either □
6 Chromatic Number
For the simplified divisibility graph is connected, and neither an odd cycle nor a complete graph, so Brooks’ theorem gives .
Proof
of Main Theorem 5. For the first assertion we may suppose that and also by Main Theorem 4 that d > 1. The subgraph Gd induced by the multiples of d admits a 3-coloring by Remark 11, and we can extend it to a 4-coloring of . Indeed, there are no incoming multiplicative edges for the vertices outside Gd, so for we can iteratively color the vertices kd + i for : the vertex kd + i sees at most two (respectively, three) previously chosen colors for (respectively, ).
If , then has a 2-coloring given by mapping a vertex to its remainder modulo 2 (the multiplication by b maps odd vertices to even vertices, and it maps any even vertex to itself). If , then (considering the additive edges) n is even and w.l.o.g. the 2-coloring maps a vertex to its remainder modulo 2. If (respectively, and ), the vertices 2 and 2b (respectively, 1 and b) are distinct, adjacent, and have the same color. □
Conjecture 4 has been verified with SageMath [Citation8] for . Moreover, it has been proven in the following cases:
Proposition 25.
If , or , then .
Proof.
In the first case, we can check by hand , , and for we have by Theorems 21 and 22. In the second case, we get a 3-coloring by assigning to each multiple of d the color 0 and by alternating between 1 and 2 on each interval between two multiples of d. In the third case, we obtain a 3-coloring as follows: assign the color 0 to the vertex 0 and the color 1 to all the other multiples of d; assign colors to the vertices between two multiples of d by alternating between colors 0 and 2 and by assigning the color 1 to vertices adjacent to 0. □
Example 26.
If , then hence by Proposition 25. Moreover, we have the following 3-colorings for and , for and , and for and , respectively:
Above, the polygon consists of the additive edges, with 0 at the bottom.
If (respectively, ), then a 3-coloring for can be defined by mapping a vertex to its remainder modulo 3 (respectively, additionally replacing the color of 0 to be 2). Indeed, for all a the vertices have distinct colors, so we are left to show that a and ba have distinct colors for every : the remainder of ba modulo n is or , thus not congruent to a modulo 3.
Similarly, if is not divisible by 3, then and have a 3-coloring by mapping a vertex to its remainder modulo 3 (as and , the remainder of ba modulo n is not congruent to a modulo 3 if 3 does not divide a; furthermore, if 3 does divide a there is a loop at the vertex a).
7 Planarity
To investigate planarity for divisibility graphs, we may consider simplified divisibility graphs instead, as planarity is not affected by loops nor by multiple edges.
Example 27.
The graph , and for n even the graphs and are planar. Indeed, can be drawn as in , while the graph (respectively, ) can be drawn as in (respectively, ), where the dashed edge is not present if is odd (respectively, even).
Wagner’s theorem states that a graph is planar if and only if it does not contain as a minor K5 nor , which are the following graphs:
For example, contains a minor isomorphic to K5. We will often exhibit a minor isomorphic to : the vertices will be listed in cyclic order; the vertices are , and will be marked in bold.
Proposition 28.
If b = 2 and , or b = 3 and , or and , then is nonplanar.
Proof.
The minors isomorphic to are , and , respectively. □
By Example 27, an odd integer (respectively, an even integer ) satisfies Conjecture 5 if and only if is nonplanar for all (respectively, ). We verified with SageMath [Citation8] that all prime numbers in the range from 13 to 4391 and all integers satisfy Conjecture 5.
Proposition 29.
If Conjecture 5 holds for all n that are prime numbers, then it holds for all n.
To prove this, we make use of the following:
Lemma 30.
If n satisfies Conjecture 5, then the same holds for 2n. If n is odd and it satisfies Conjecture 5, then the same holds for kn for every positive odd integer .
Proof.
For n odd, is nonplanar, as can be seen by considering the minor . For n even, and are nonplanar by Proposition 28, while the graphs and are nonplanar because of the minor and the minor , respectively. Remark 9 settles all remaining cases of the first assertion, and the cases of the second assertion. To conclude, we may suppose that where . If and k > 3, then is nonplanar by Proposition 28. In the remaining cases is not planar because of the following minors:
Table
Above, a denotes a multiple of k such that . □
Proof of Proposition 29.
An odd number is an odd multiple of a number which is prime or , so we conclude by Lemma 30. An even number is a number for which the conjecture has been verified or it is a power of 2 times an odd number , so we conclude by Lemma 30 and the previous case. □
Notice that, in case the lower bound for n in Conjecture 5 gets updated, one could still reduce to prime numbers and an explicit finite number set.
In this article we have raised several questions and we have answered some of them. The interested reader can try to prove or disprove our conjectures. Moreover, there are other notions for graphs that deserve to be investigated for divisibility graphs hence there are many open research directions. Some of these investigations are accessible to students, so they are suitable for undergraduate research.
Acknowledgments
We thank MATH-segnale for introducing divisibility graphs with [Citation2]. We thank Anne-Julie Bertinchamps, Tia De Waha, Sergei Merkulov, Hugo Parlier, Emiliano Torti, and last but not least, the anonymous referees for their very valuable comments and also for supporting our project with enthusiasm.
Additional information
Notes on contributors
Antonella Perucca
ANTONELLA PERUCCA studied at Scuola Normale Superiore in Pisa and then continued her career as a number theorist in Italy, Switzerland, Belgium, Germany, and Luxembourg. She is also active in recreational mathematics, didactics, and outreach.
Department of Mathematics, University of Luxembourg, 4634 Esch, Luxembourg
Tim Seuré
TIM SEURÉ has received his Bachelor in mathematics in 2021 and is about to finish his Master’s studies. Afterwards, he will be working towards a Ph.D. in computational number theory and cryptography.
Department of Mathematics, University of Luxembourg, 4634 Esch, Luxembourg
Vincent Wolff
VINCENT WOLFF entered the University of Luxembourg in 2016. He is now doing a Ph.D. in Mathematical Physics under the supervision of Prof. Dr. Sergei Merkulov.
Department of Mathematics, University of Luxembourg, 4634 Esch, Luxembourg
References
- Bondy, J. A., Murty, U. S. R. (1976). Graph Theory with Applications. New York, NY: American Elsevier Publishing Company.
- Calza, D., Moschetti, R. (2021). Divisible? Not divisible? Check it with a graph! https://youtu.be/SAmyS1IIWsQ
- Diestel, R. (1997). Graph Theory. New York, NY: Springer-Verlag.
- Khovanova, T., Wilson, D. (2009). Divisibility by 7 is a Walk on a Graph. https://blog.tanyakhovanova.com/2009/08/divisibility-by-7-is-a-walk-on-a-graph-by-david-wilson/
- Lengler, M. (2021). TimesTableWebGL. https://lengler.dev/TimesTableWebGL/
- Polster, B. (2022). Tesla’s 3-6-9 and Vortex Math: Is this really the key to the universe? https://youtu.be/6ZrO90AI0c8
- Polster, B. (2015). Times tables, mandelbrot and the heart of mathematics. https://youtu.be/qhbuKbxJsk8
- SageMath Version 8.9. (2019). http://www.sagemath.org
- Shanks, D. (1985). Solved and Unsolved Problems in Number Theory. New York, NY: Chelsea Publishing Company.
- Stricker, H.-P. (2018). Conditions for a modular multiplication graph to contain k-cycles. https://math.stackexchange.com/questions/3036797/conditions-for-a-modular-multiplication-graph-to-contain -k-cycles?noredirect=1&lq=1
- Stricker, H.-P. (2018). Explanation of an unexpected observation in modular arithmetic. https://math.stackexchange.com/questions/3035966/explanation-of-an-unexpected-observation-in-modular-arithmetic