1. Introduction and Background
In this article, only finite undirected graphs are considered. A graph G has the edge set and vertex set . For any additive Abelian group A, let be the set of all nonzero elements and 0 the additive identity of A. Given a graph G, a mapping is also called an edge labeling of G. A graph G admits a constant-sum A-flow or is said to be A-magic if there exists an edge labeling such that the induced vertex labeling defined by is a constant map. We call the constant a magic sum of G with respect to A, an index for short. We then denote the set of all constants r such that the graph G admits a constant-sum A-flow with an index r by and call it the magic sum spectrum, or the index set for short, of G with respect to A.
In general, a graph may admit more than one edge labeling to be an
A-magic graph. No generally efficient algorithm is known for finding magic labeling for general graphs. A. Kotzig and A. Rosa used the same term in [
1], but their notion of magic labeling is different from what we consider here. It is well known [
2,
3,
4] that a graph
G is
-magic if and only if every edge of
G is contained in a
-factor and every pair of edges is separated by this
-factor. For a list of properties of
-magic graphs, see [
5,
6,
7]. Richard Stanley first studied
-magic graphs in [
8,
9], and he demonstrated that the study of magic labelings can be reduced to solving a system of linear diophantine equations. More references can be seen in the survey article by Gallian [
10].
Note that one special case of magic sums of
A-magic graphs while
with magic sum constant zero has been studied intensively, namely
zero-sum flows, which was initiated by S. Akbari et al. [
11] in 2009. For an undirected graph
G, a zero-sum flow is an assignment of nonzero integers to the edges such that the sum of the values of all edges incident with each vertex is zero. A zero-sum
k-flow is a zero-sum flow whose values are integers with an absolute value less than
k. One may treat zero-sum flows as an undirected analog of nowhere-zero flows for directed graphs. A celebrated conjecture of Tutte in 1954 says that every bridgeless graph has a nowhere-zero 5-flow. There is a more general concept of a nowhere-zero flow that uses bidirected edges instead of directed ones, first systematically developed by Bouchet [
12] in 1983. Bouchet raised the conjecture that every bidirected graph with a nowhere-zero integer flow has a nowhere-zero 6-flow, which is still unsettled. In 2010 S. Akbari et al. raised a conjecture (called
Zero-Sum 6-Flow Conjecture) for zero-sum flows similar to Tutte’s 5-flow conjecture for nowhere-zero flows as follows: if
G is a graph with a zero-sum flow, then
G admits a zero-sum 6-flow. It was proved by Akbari et al. [
13] that the above Zero-Sum 6-Flow Conjecture is equivalent to Bouchet’s 6-Flow Conjecture for bidirected graphs. The study of zero-sum flows was extended to constant-sum flows by T.-M. Wang et al. [
14] in 2011 and also studied by Akbari et al. [
15,
16,
17,
18] as 0-sum and 1-sum flows with related topics.
The index sets
of various graph classes
G were studied and calculated. For example, let
and write the magic sum index set as
. In [
14], in 2011, T.-M. Wang et al. obtained the following result regarding the index sets of
r-regular graphs (except the case
:
In this article, graphs admitting constant-sum -flows are studied, i.e., . We refer to as the magic sum index set with respect to , for . Note that the case of constant-sum -flows is not hard to calculate since every edge of a graph with -flows must be labeled with 1, and hence, the magic sum index set is completely determined by the degree sequence of the graph. Therefore, the magic sum spectra are of interest for . In this paper, we completely determine the magic sum index sets of all regular graphs of even degree and characterize 3-regular graphs with a full magic constant spectrum for all . We also give certain examples for index sets in other cases.
Below, we list the major results of the magic sum spectrum when , among others, and prove them in the subsequent sections.
Theorem 1. For and , the magic sum spectrum of the complete bipartite graph is , where , and denotes the additive subgroup of generated by the element a. Or, equivalently, Theorem 2. Let G be an r-regular graph () which admits a perfect matching. Then, for all .
Theorem 3. Let G be a 3-regular graph. Then, for all if and only if G admits a perfect matching.
Theorem 4. There exists an example of a 3-regular graph containing no perfect matching such that Theorem 5. There exists an example of a 5-regular graph , without any perfect matching, such that for all .
Theorem 6. If G is an even–regular graph with an odd number of vertices, then for all .
Theorem 7. If G is a connected regular graph of degree , with odd and an even number of vertices, then for all .
Theorem 8. If G is a connected regular graph of degree , with m even and an even number of vertices, then for .
Inspired by extensive studies of magic labelings in the literature with infinite cyclic Abelian group
, one naturally considers the finite cyclic group
of congruence modulo
k. Therefore, in this article, we study magic labelings with an emphasis on the group
, which is closely related to the infinite cyclic case
. In the concluding section, we mention the observation that this work can be further extended to more general cases via the fundamental theorem of finite Abelian groups and other structure theorems of Abelian groups. For more group theoretical discussions, please refer to the book by Rotman [
19], for instance.
2. Magic Sum Spectra for General Graphs
In this section, we investigate the properties of magic sum spectra for general graphs. For the index sets of the vertex disjoint union of graphs, we have the following formula.
Proposition 1. Let and be vertex disjoint graphs. Then, . In particular, let be the vertex disjoint union of n copies of G, then has the same index set as G, that is, .
Proof. On one hand, if , then and simply consider the restriction of the labeling of over and , respectively. On the other hand, if and , then , since and are vertex disjoint, hence edge-disjoint. □
We have the following basic observations over the indices of an edge-disjoint union of -magic graphs. Let, in particular, be the edge-disjoint union of spanning subgraphs and , that is, G admits a factorization with factors . Suppose for fixed k the graphs is -magic with index for . Then, we have that is -magic with an index . The reason is that at each vertex v of , the incident edges consist of the incident edges of v in . We organize these facts as follows.
Proposition 2. Let be the factorization of spanning subgraphs and . Suppose for fixed k the graph is -magic with index for . Then, we have the following:
- (1)
If , then has an index of 0.
- (2)
is -magic with an index of .
- (3)
, and in particular, if for some i.
Remark 1. Note that in the previous Proposition, in general. That is, not necessarily every index of comes from the sum of indices of and .
Remark 2. In case the graphs and are -magic with indices 0 for each , where , then we have the resulting arbitrary union graph , which is formed by attaching these m graphs in any way, and it is still -magic with an index of 0.
One direct application of the above observation is that the Cartesian product of -magic graphs is still -magic with an index of the sum of corresponding indices:
Proposition 3. For fixed k, let the graphs be -magic with index for . Then, the Cartesian product has an index of , and . In particular, the index set whenever for some .
Proof. It suffices to show that the Cartesian product of two -magic graphs is -magic with an index that is the sum of the original indices. Let and . Decompose as graphs and such that , where and . Then, and , thus having indices and , respectively. Then, from the previous facts, has an index , and . Hence, the proof is complete. □
However, in general, the index set will not be the full . Note that the index set in general is a subset of , not necessarily a subgroup. Note that if , then simply by reversing the sign of the labels on each edge. If one can show that for any we have , then is a subgroup of . We have the following necessary condition for a -magic graph with magic sum r.
Proposition 4. For any -magic labeling f of a graph G with index r, we have Proof. Summing the vertex sums will count each edge label twice. □
However, the converse of Proposition 4 is not true in general. By the above necessary condition, for a graph G with odd and for even k, it implies that r must be an even number, as a representative in the congruence class modulo k. Therefore, we have the following facts.
Corollary 1. For a graph G with odd vertices and for even k, we have that .
We have the following examples of the index sets of cycles (connected 2-regular graphs) and the Cartesian product of cycles.
Proposition 5. Let be an n-cycle, where , and k be a positive integer. We have the following:
- (1)
, for n odd.
- (2)
, for n even.
Proof. Note that in any -magic labeling of a cycle, the edges should alternatively be labeled the same. Therefore, for n odd, the labels on all edges are all the same. Therefore, for n odd.
On the other hand, for n even, we label the edges for to obtain the index x, and to obtain the index 1. Therefore, for n even. □
Remark 3. Note that for k is odd, and for k is even. One may see from the above proposition that if and only if k is even for n odd.
As corollaries of the above observations, we have the following example for the index set of the hypercube graphs :
Proposition 6. For fixed k and , the index set of the hypercube is . Note that .
Proof. Note that by Proposition 5. Then, by Proposition 2, we have . □
Moreover, we have the following examples for the index sets of toroidal grids :
Proposition 7. For fixed k and , the index set of a toroidal grid is Proof. Directly from the Proposition 3 and the Proposition 5. □
In general, if G is -magic, then it is -magic for k and m positive integers. Therefore, it suffices to consider the cases of prime numbers when one studies the -magicness of a graph. We have the following relationship of index sets with respect to k and :
Proposition 8. Let be positive integers. Then, and .
Proof. Note that if G is -magic with index , then it is -magic with index , since we may simply use the -magic labeling with index r, multiplying on each edge label by m, which turns out to be a -magic labeling with index . On the other hand, implies , thus . □
Remark 4. From the above observation, one may see that for checking the -magicness of a graph, it suffices to look at the prime numbers k, instead of all positive integers k.
Another useful fact is as follows:
Lemma 1. Any Eulerian graph with an even size has a zero index.
Proof. Label 1 and alternately on a Eulerian cycle. □
3. Magic Sum Spectra of Complete Bipartite Graphs
We determine the index sets of complete bipartite graphs for in this section. Note that these examples are not regular graphs in most cases. One can see that the index x of a constant-sum -flow for is the solution of the linear congruence equation , since and are both the total sum of all edge -labels over the graph , as seen by adding up m of the same indices x on one partite set or n of the same indices x on the other partite set over the graph .
If or , is the star graph, then by the solutions to the above linear congruence equation, we have , and for and . Note that for and , and in particular, in any case.
Now, we study the case for for in the following.
Proposition 9. for and all .
Proof. We have the following two cases:
Case 1. m or n is even. Say m is even, we decompose into an edge-disjoint union of copies of . Then, we label the edges of by the following rules. Labeling 1 and on each pair of edges incident to the first degree 2 vertices, then labeling, if necessary (whenever n is odd), 2 and on the last pair of edges. Therefore, we obtain an index 0 over each copy of and hence an index 0 over the whole for when m or n is even.
Case 2. m and n are both odd. Note that can be labeled with and to obtain the index 0. In this case, consider as the edge-disjoint sum of and . The part would have an index of 0 by Case 1, together with , it gives rise to an index of 0 .
□
Now, we are in a position to obtain the index set of the complete bipartite graph and resolve Theorem 1:
Proof. Note that the index x of a constant-sum -flow for is the solution of the linear congruence equation .
In the case that , then has the unique solution 0, hence since , as shown in Proposition 9.
In the case that
, then there are
d solutions
for
, namely,
. Note that
. Then, we may obtain all other possible indexes
by the following observations. Without loss of generality, we may assume that
. Decompose the graph
into two parts: one is regular bipartite
and the other is
. Note that we write the part
as a bipartite graph with bipartition
, as in
Figure 1.
We claim that there exists appropriate edge labeling on the part such that the vertex sums over the partite set A of vertices are and the vertex sums over the partite set B of n vertices are 0; then, since for all by the Theorem 10, the desired labeling is obtained by combining the labels from two parts. To prove this claim, we have two cases, as follows.
When n is odd, note that the degrees of vertices in the partite set B are . We label the edges of in an ordering of vertices in B by , , , , ⋯, until . Then, the partial vertex sums over the vertices in B with respect to A are either or , and both since x is a solution to . On the other hand, the vertex sums over the vertices in A are exactly x.
On the other hand, we consider the case when n is even. If 2, we label the edges as in the previous case by , , , , ⋯, except the last two groups we use and instead. Then, the new labeling does the job.
In case , we see in this case, k is even and . We claim that must be even. Note that is an element of order 2 in the group and hence also an element of order 2 in the group since . Therefore, , thus must be even.
Then, in the following, we may give a new labeling under the situation that
n is even,
is even, and
k is even. In the partite set
A, we pair off the vertices as
and label at each 4-cycle containing these two-vertex sets
, respectively, by
consecutively, as in
Figure 2.
Then, it is a straightforward computation to figure out that the partial vertex sums over on these 4-cycles are all , and the partial vertex sums over vertices related in the other partite set B are all zero.
Lastly, note that the remaining edges not used in the above constructions induce an even subgraph (in which every degree is even) of , which is Eulerian of even size in each component. Then, as in Lemma 1, we label 1 and consecutively on the edges of a Eulerian cycle, which would give partial vertex sums of zero over the even subgraph. Combining all the above partial sums together, we obtain a new labeling as desired on the part . □
4. Magic Sum Spectra for Regular Graphs
We study magic sum spectra for regular graphs in this section and first start with several lemmas.
Lemma 2. For any cubic graph G with a 1-factor, for all .
Proof. Assume . Let M be the 1-factor of G. Since and is a 2-regular graph with index 2 via labeling 1 on all edges, then . It remains to show . Labeling on all edges of M and 2 on all edges of , it is easy to see that 2 is an index. □
Lemma 3. Let G be a regular graph. Suppose G has a factorization containing a 1-factor and a 2-factor , then for all .
Proof. Assume that . Note that G may be factored as an edge-disjoint sum of two -magic spanning subgraphs , where is a 1-factor and is a 2-factor. Therefore, by Lemma 2, and this lemma follows by . □
We are in a position to show a sufficient condition to have the full magic sum spectrum for general r-regular graphs. It is well known one has the following theorem for even–regular graphs:
Theorem 9 (Petersen, 1891 [
20]).
A nonempty graph G is -regular for some if and only if G admits 2-factorization. Theorem 10. Let G be a r-regular graph () which admits a 1-factor, then for all .
Proof. Assume that . Let M be the 1-factor. Note that and is an -regular graph. Since for the 1-factor , and has indices and by labeling 1 and , respectively, on edges, we have that and . If , then we are done with , since and . In case , which implies , that is, . Therefore, we have that has an index of 0 by labeling 2 on the edges. Hence, in this case, and it remains to show that . For the case where r is even, note that G has an even order, hence G is a Eulerian graph of even size and by Lemma 1. For the case where r is odd, since is an even–regular graph since by Petersen’s Theorem 9 it has a 2-factorization, then G has a 1-factor and a 2-factor by Lemma 3, and . Then, we are done with the proof. □
Remark 5. Conversely, however, for an r-regular graph that has a full magic sum spectrum, it may or may not admit a perfect matching except for 3-regular graphs. We show this fact later. Note that there are examples for regular graphs without 1-factor for which the index set is not full .
5. A 3-Regular Graph without Full Magic Sum Spectrum
Let
be the example made by Petersen for a 3-regular graph containing no perfect matchings (see
Figure 3). We show that the 3-regular graph
has no full magic constant spectrum.
Lemma 4. .
Proof. In
Figure 3, we have
, which implies
. Suppose
. Without loss of generality, there exists one of three edge labels of the top claw that can be 1, say
. Therefore, this implies
in
; the nonzero solution for
d does not exist, which is a contradiction. □
Lemma 5. , and .
Proof. In
Figure 3, similarly, we have
. Suppose
, then one of three edge labels of the top claw must be 1 or
. Therefore, this implies
in
, and the solution for
d does not exist, which is a contradiction. On the other hand, since
is 3-regular by labeling 1, 2, and 3 over all edges, respectively,
. □
Lemma 6. For ,
Lemma 7. For , .
Proof. For the case of
, see
Figure 5. For the general case
see
Figure 6 and
Figure 7, which give two ways of labeling to make the magic sum index
x. It remains to show that at least one of them contains no edges labeled by zero. Do not suppose, say
or
in
Figure 6, then in
Figure 7, either
or
in
; however this has been ruled out already. □
To summarize from the above lemmas, we have the following result for the index sets of the graph
, namely Theorem 4:
Now, we show that for 3-regular graphs, the sufficient condition admitting a perfect matching for having full index sets is also necessary. We start with the following lemma.
Lemma 8. If G is a 3-regular graph such that , then G admits a perfect matching.
Proof. Give G a -magic labeling with vertex sum zero. Then, for each vertex , there must be an even number of edges incident to v with an odd label and thus an odd number of edges with an even label, which must be 2. However, it is not possible that all three edges are labeled 2, as then the sum of the edges incident to v would be 2. Thus, there must be one edge with the label 2 incident to each vertex. The set of such edges is the desired perfect matching. □
Theorem 3 follows directly from this lemma. We note that this theorem is not true for general regular graphs, in particular, it fails for 4-regular and 5-regular graphs, as shown in the following sections.
6. A 5-Regular Graph with Full Magic Sum Spectrum
In this section, an example is given for a 5-regular graph with a full magic sum spectrum, however, without any perfect matching. We start with the following lemma regarding 5-regular graphs:
Lemma 9. Let be a 5-regular graph with a 3-factor H and a 2-factor J. Then, for , and .
Proof. If there is a solution to the equation in nonzero elements of , then there is a labeling of index x in by labeling the 3-factor edges a and the 2-factor edges b. It is a classical result that the largest x with no non-negative integer solutions to is 1; thus, the largest one with no positive integer solutions is 6. We first look for positive integer solutions to for . Note that a positive integer solution must have both a and b be less than k, or else will be at least . Thus, whenever , there is a solution to for with ; these correspond to nonzero solutions in to and in turn to -magic labelings with index x. Additionally, when , there is a solution for and . This proves our lemma. □
Thus, to show that a 5-regular graph has full index sets for all
k, it suffices to find a 2-factor and a
magic labeling with index 0. Below, we give a 5-regular graph
with a 2-factor marked in bold in
Figure 8.
On the other hand, we also wish to show that
. In
Figure 9, we label the bold edges 1 and the remaining edges 2.
This gives a -magic labeling of index 0. Thus, G has full index sets for all .
We also observe the following Tutte condition for checking whether a graph contains a perfect matching:
Theorem 11 (Tutte, 1947 [
21]).
A graph G has a perfect matching if and only if, for every subset U of V, the number of connected components with an odd number of vertices in the subgraph with vertex set is less than or equal to the number of vertices in U. By Tutte’s condition in Theorem 11, selecting the four vertices in the square, this graph lacks a perfect matching. Thus, does not have a perfect matching, but it has full index sets for all . This resolves Theorem 5 for 5-regular graphs.
7. Magic Sum Spectra for Regular Graphs of Even Degree
We prove a series of lemmas to describe the index sets of even–regular graphs. Our knowledge of regular graphs of even degree again comes from the following theorem of Petersen [
20]: A nonempty graph
G admits a 2-factorization if and only if it is
-regular for some
. Note that T.-M. Wang and C.-M. Lin [
22] observed that for any
-magic labeling
f of a graph
G with index
r, one has the condition
Therefore, we have the following result:
Theorem 12. For a graph G with odd vertices and for even k, we have that .
This gives a limit to the maximum size of index sets of graphs with an odd number of vertices. We show that this bound is tight for even–regular graphs with an odd number of vertices.
Lemma 10. Let G be a -regular graph with , and let be an odd integer. Then, .
Proof. Pick some . Let be a 2-factorization of G. Arbitrarily select nonzero elements of . Then, select from such that (computed in ). Then, let A, taken as an integer in , be equal to the sum modulo k. Clearly, exactly one of and is even since k is odd; let equal half this even number. Now, we have that in . Label each edge in with the label ; this gives the desired labeling and proves the theorem. □
Note that this theorem only relies on the fact that a -regular graph has two 2-factors; thus, this would hold for a regular graph of odd degree with two disjoint 2-factors.
Lemma 11. Let G be a -regular graph with , and let be an even integer. Then, .
Proof. Pick some . We use the same factorization as in the previous lemma. Label each edge in with and each edge in with y. Then, the sum of the labels at each vertex will be ; this is the desired labeling. □
We note that our work is done for even–regular graphs with an odd number of vertices by Theorem 12, and we have now proved Theorem 6. On the other hand, for even–regular graphs with an even number of vertices, we continue as follows:
Lemma 12. Let G be a connected graph, and let U be a subset of the vertices of order . Then, there is a subgraph of G consisting of m edge-disjoint paths, each of which has as its endpoint vertices in U such that every vertex in U is the endpoint of exactly one path.
Proof. We begin by choosing two arbitrary vertices in U and connecting them by a path. We then iterate the following process until all vertices in U have been used.
Select two vertices and in U which are not yet the endpoints of paths and connect them by a path . Starting from , follow the path to until reaching an edge that is shared by another path, should one exist. If shares edges with another path , then eliminate these edges as follows: Assume that runs from to . Furthermore, assume that the first edge on which they overlap, when walking from to , is and that the last such edge is . Assume that vertex is the endpoint of closer to along and that is the endpoint of closer to along . Now, following from to , assume that is reached before (this assumption is acceptable because and have not yet been distinguished).
Now, define the path from to , formed by following from to and then from to . This does not overlap any other paths since ’s first overlap is with , and does not overlap any paths other than . Next, define the path from to , formed by following from to and then from to . This can only overlap other paths between and , and that section of the path has as many overlaps as . Thus, by replacing with and with , we reduce the total number of overlapping edges. We can continue doing this for the rest of , and then will not overlap any other paths. Then, repeating this process for all pairs of points in U gives the desired subgraph. □
Lemma 13. Let G be a connected graph with an even number of vertices. Then, G has a spanning subgraph with every vertex of odd degree. Call such a subgraph an odd-factor.
Proof. Let U be the entire set of vertices. We claim the graph described in Lemma 12 for this set of vertices satisfies this property. Denote this graph J and pick a vertex v. Then, in J, v is the endpoint of exactly one path. There may be other paths passing through v, but for each path with one edge incident to v, there must be a second such edge. Thus, v is incident to an odd number of edges in the path with v as an endpoint and an even number of edges from every other path, giving in total an odd number of edges incident to v. □
Lemma 14. If G is a -regular graph with an even number of vertices, and is an even integer, then .
Proof. We first handle the case of . First, we start with a -magic labeling of the graph with index 0 and double each label. This gives a -magic labeling of G with index zero, where each label is either 2 or 4. Now, let J be an odd-factor of G as in Lemma 13. For each edge in J, increase its label in G by 3. This will increase the sum of the labels at any vertex by 3 an odd number of times, so the induced sum will change by 3 and will thus be 3.
Now, we consider all other cases. First, choose a 2-factor H of G and label all remaining edges . Let U be a set containing one vertex from each odd cycle of H. As in the previous proof, there are an even number of elements in this set. Thus, let J be the subgraph of G described in Lemma 12. We first label the edges of H with alternating numbers and then use J to fix the labels of U. If we have , then set and . If , then set and . Otherwise, set . Note first that ; additionally, note that the maximum possible value of either is in the case of , which is at least two less than k in all cases except . The minimum possible value of either is in the case of . Thus, either value can be changed by without making it equal to zero. The label can also be changed by without making it equal to zero. For each path in J of even length, choose one endpoint and denote it a + vertex, and denote the other a − vertex. For each path in J of odd length, denote both vertices + vertices. Now, we label H. For each even cycle, label the edges alternating between and . For each odd cycle, there will be a + vertex or a − vertex. If there is a + vertex, start from this vertex and label its incident edges with , then continue to label this cycle alternating between and ; similarly for a − vertex, label its incident edges . Finally, for each path in J, start with a + vertex and add to the edge in J incident to it, then continue along this path alternating between adding and to the labels. This will only affect the vertex sums at the endpoints; for + vertices, it will decrease the sum by 1, while for − vertices, it will increase the sum by 1. For all other vertices, the sum will be ; for − vertices, the sum will be ; and for + vertices, the sum will be . Thus, this is a -magic labeling with index x. □
Finally, we are in a position to complete the picture for all regular graphs of even degrees. We start with the following lemma for regular graphs of degree congruent to 2 modulo 4:
Lemma 15. If G is a -regular graph (with m odd) and is connected with an even number of vertices, then .
Proof. It suffices to show that either 1 or 3 is in ; a labeling with index 1 can give a labeling with index 3 by negating each value, and vice versa. Let and be k-factors of G. Then, label each edge in label 3 and each in label 2. The sum at each vertex will then be congruent to modulo 4. Thus, if , this is a labeling with index 1, and if , this is a labeling with index 3. This gives the desired labeling. □
We need the following classical fact to show the remaining cases:
Theorem 13 (Petersen, 1891 [
20]).
Let k be a positive integer. If a connected -regular graph G has an even number of vertices, then it may be k-factored. That is, G can be factored into the sum of two k-regular spanning subgraphs. In the following, in particular, we show that a connected -regular graph of even order has a full -index set , and together with Lemmas 10 and 14, we resolve Theorem 8, i.e., any connected -regular graph G of even order has full index sets for all .
Theorem 14. If G is a connected -regular graph (with m even and ) with an even number of vertices, then .
Proof. Let
. By Theorem 9, we see
G is 2-factorable. So,
, where
R is a 2-factor and
K is a
-factor. Duplicate edges for all
, then we obtain the new graph
, where
is a
-factor. Note that
is connected as well, since
G and
are connected. Then, due to Theorem 13 by Petersen, the
-factor
can be factored into the sum of two
-regular spanning subgraphs, say
and
. Now, we define the edge labeling function
on
as follows:
Then, we see that
and the vertex sum
for all
over
.
Now, one may define a new labeling function
f over
G as follows:
where
is the duplication edge by
e above. Therefore, the labeling function
is feasible
weights. Since
G is
-regular, over
G one may have the vertex sum
for every
. Thus,
, and hence
by symmetrically negating all edges since
in
. By Lemma 11
; therefore,
. We are done. □
Therefore one can see from the lemmas and theorems above that we already resolved Theorems 6–8, which completely determines the index sets for all regular graphs of even degree.
Remark 6. Note that Akbari et al. in [18] raised the following conjecture: Every connected -regular graph of even order admits a 1-sum 4-flow. As a byproduct, we already verified this conjecture, since , as shown in Theorem 14. 8. Concluding Remark and Future Studies
Note that one may extend the above results to the case of the direct product of two Abelian groups, hence to the case of the finitely generated Abelian group, in terms of the observation below.
Lemma 16. For any Abelian group , a graph G is A-magic with index if and only if there are two spanning subgraphs of G, say and , such that , is -magic with index and is -magic with index .
Proof. Suppose f is an A-magic labeling of G, and for . Let be the spanning subgraph of G such that and define an -magic labeling by for all . Similarly is defined and so is -magic labeling.
Conversely, suppose
is
-magic and
is
-magic under the labeling
, respectively. Define an
A-magic labeling as follows:
□
In this article, we study the properties of the magic sum spectrum for general graphs and determine the magic sum spectrum for complete bipartite graphs . Also, we show that a regular graph G admitting a perfect matching has a full magic sum spectrum, namely, for all . An example is given for a 3-regular graph without any perfect matching whose magic sum spectrum is not full. Furthermore, we show that for 3-regular graphs, admitting a perfect matching is equivalent to having a full magic sum spectrum. Among other results, we completely determine the magic sum spectra for all regular graphs of even degree. The magic sum spectra for regular graphs of odd degree are not fully understood. However, for 5-regular graphs, we show that there exist examples without any perfect matching but with full magic sum spectra.
Here, we list the following open problems inspired by our work to be explored further:
Characterize graphs whose magic sum spectrum is a subgroup of the Abelian group A, in particular for .
Determine the index set for a 3-regular graph with no perfect matching in general.
Find examples of r-regular graphs (r odd and ) with magic sum spectra for all but no perfect matching.
Characterize r-regular graphs with magic sum spectra for odd .
Characterize the graphs that have a full magic sum spectrum.
Determine index sets of other nearly regular graphs, such as , , in addition to index sets of graphs without perfect matching in general.
Generalize the constant-sum group flows to directed graphs and bidirected graphs.