Manuscript Offprint
arXiv:2610.35419Antimagic Labeling of Central Digraphs Constructed from Loops
Abstract
Let be a loop of order and the loopless central digraph obtained from the associated central digraph by removing the self-loops at the diagonal vertices. We construct an explicit arc-labeling of ordering all arcs lexicographically by (tail, head) and assigning labels in that order and prove that is an antimagic labeling. Consequently, is antimagic for every loop of order , a property that depends only on and is invariant across all non-isomorphic loops of the same order.
2010 Mathematics Subject Classification: 05C78, 05C20, 20N05, 05C25.
Keywords: Antimagic labeling, Central digraph, Loop, Quasigroup, Oriented vertex sum, Iverson bracket.
1 Introduction
The subject of graph labelling is a major one in graph theory and involves assigning integers to the elements of a graph. The components can be vertices, edges, or arcs, the assignments being governed by certain constraints. Since Rosa’s seminal 1967 work on graceful labellings [16], numerous labelling paradigms have been investigated. Among these, antimagic labeling has attracted sustained attention because of the elegance of its definition and peculiarity.
An antimagic labelling of a graph with edges is a bijection such that the vertex sums where the sum at a vertex is the total of the labels on all edges incident to are pairwise distinct. Hartsfield and Ringel [10] introduced the concept in 1990 and conjectured that every connected graph other than (complete graph of order 2) is antimagic. Alon, Kaplan, Lev, Roditty, and Yuster [14] established antimagicness for graphs whose minimum degree is at least for an absolute constant . Cranston, Liang, and Zhu [8] settled the conjecture for regular graphs of odd degree, and Eccles [9] proved the result for all graphs of sufficiently large average degree.
The directed analogue of antimagic labelling was introduced by Hefetz, Mütze, and Schwartz [11], who defined an antimagic labeling of a directed graph having adjacency matrix with arcs as a bijection such that the oriented vertex sums , difference between the sum of labels on arcs entering and the sum on arcs leaving v are pairwise distinct. They also conjectured that every connected graph admits an antimagic orientation and proved partial cases; the conjecture was subsequently verified for regular graphs of even degree by Li, Song, Wang, Yang, and Zhang [13], for biregular bipartite graphs by Shan and Yu [?], and for all graphs with minimum degree at least 33 by Shan [15].
A largely independent line of research concerns central groupoids and their associated digraphs. A central groupoid is a set equipped with a binary operation * satisfying the identity for all . Equivalently, a central digraph is a directed graph on the vertex set defined by the rule:
. The associated adjacency matrix satisfies , where is the matrix of all-ones. Let be a set having a binary operation “”. Then is said to be a left quasigroup if it is a groupoid and the equation for all has a unique solution in . Also, a left quasigroup with identity is called a left loop, and a left loop is called a loop if , also has a unique solution in . Every finite central groupoid has order , for some positive integer , and that every vertex in the central digraph corresponding to the central groupoid has in-degree and out-degree equal to . This elegant algebraic and combinatorial duality was explored by Knuth [12] in his foundational study of central groupoids. Further Curtis, Drew, Li, and Pragel [2] subsequently developed a comprehensive spectral theory for central digraphs, characterizing the possible ranks and eigenvalue structures of their adjacency matrices.
The bridge between central digraphs and loop theory was established by Rawat [1]. In [1, Prop. 3.1 - 3.2] he established that is bijective where be the set of all left quasigroups with left identity and right zero structure on and be the set of all left quasigroup structures on . In Proposition 3.3 he showed isomorphism preservation between the quasigroup with left identity and right zero and the corresponding quasigroup structures. We consider , and the binary operation defined on is ‘*’ satisfying and for all . We represent it by , left quasigroup with a left identity and a right zero. We denote as the directed graph on the vertices defined by the rule above. The loopless variant , obtained by deleting the self-loops at the diagonal vertices , retains a rich degree structure: every non-diagonal vertex has in-degree and out-degree equal to , while each diagonal vertex has both degrees equal to . In this paper, we bring together the theory of antimagic labelings and the algebraic framework of central digraphs constructed from loops. Our main result is the following.
Theorem 1.1. Let be any loop of order and the associated loopless central digraph on vertices with arcs. The consecutive labeling , ordering arcs lexicographically by (tail, head) and assigning labels in that order, is an antimagic labeling of . Hence is antimagic.
We encode vertex as the integer , so the vertices carry the total order
The arc set of has size
since has arcs in total (each of the vertices has out-degree ) and we remove self-loops.
Definition 2.1 (Antimagic Labeling). An antimagic labeling of is a bijection such that the oriented vertex sums
are pairwise distinct across all vertices.
Definition 2.2 (Lexicographic order). Let be the central digraph with vertex set , where vertices are encoded as pairs with integer encoding . The arcs of are ordered lexicographically as follows.
An arc precedes an arc if
Equivalently, using the integer encoding :
This is the standard dictionary order: arcs are sorted first by tail vertex u (ascending), with ties broken by head vertex v (ascending).
Since the ordering is a total order on , the map is bijection onto by construction.
Lemma 2.3. Under the labeling f, the out-sum of every vertex u satisfies the following equation:
where is the out-degree of in , and
is the total number of arcs with tail strictly less than u.
Proof. By construction of , the arcs with tail receive consecutive labels . Their sum is
Lemma 2.4 (Degree Structure of ). In :
(i) The k diagonal vertices have .
(ii) All other vertices have out-degree .
(iii) The same holds for in-degrees.
Proof. By the Regularity Lemma (mention the lemma from the article laplacian), every vertex of has in-degree = out-degree = . The self-loop at contributes 1 to both the in-count and out-count of ; removing it reduces both to . All non-diagonal vertices are unaffected.
Lemma 2.5. Under the vertex ordering , the diagonal vertices occur at positions
Writing for the number of diagonal vertices strictly before , the offset satisfies
Proof. Each non-diagonal vertex contributes to , and each diagonal vertex contributes , i.e. exactly 1 less than to . Hence
Lemma 2.6 (Zero-Sum Identity). Let be any bijective labeling of the arcs of . Define the net vertex sum of each vertex as
where is the out-sum and is the in-sum. Then
Proof. Expanding the sum:
Each arc contributes its label to exactly once (as an arc leaving ) and to exactly once (as an arc entering ). Therefore, as ranges over all vertices:
Subtracting gives .
Definition 2.7 (Iverson Bracket). Let P be any logical proposition or condition. The Iverson bracket, denoted by [P], is a function that assigns a numerical value to P depending on its truth value, defined as:
In other words, it simply returns 1 when the given condition holds, and 0 when it does not.
Lemma 2.8 (Diagonal count). For with ,
where denotes the Iverson bracket.
Proof. The diagonal vertices occupy positions for . Writing , the inequality holds for when (since yields a positive fractional part less than 1), and for when . This gives in the first case and in the second, which is precisely .
Corollary 2.9.
Proof. Using Lemma, 2.5 and 2.8, we have
Lemma 2.10. Let for ,
. Then
Proof. By Corollary 2.9, . Summing over :
where (counting ). Factoring the last two terms gives the result.
Proposition 2.11 (In-sum). (a) For a non-diagonal vertex , :
(b) For the diagonal vertex :
Proof. (a) Summing the labels of the in-arcs: each source with contributes by (i), and the diagonal source contributes by (ii). Summing over all values of gives .
(b) Only in-arcs exist (); each is a non-diagonal source contributing by (i). Summing: .
We can now derive explicit weight formulas by subtracting (Lemma 2.3) from (Proposition 2.11).
Proposition 2.12 (Weight non-diagonal vertex). For ,
where is a constant depending only on k.
Proof. Substitute into Lemma 2.3 and use Corollary 2.9:
From Proposition 2.11(a) and Lemma 2.10:
Computing and collecting by variable:
coefficient of ,
coefficient of ,
coefficient of ,
constant:
Proposition 2.13 (Weight diagonal vertex). For the diagonal vertex ,
where denotes the value Proposition 2.12 would assign to (with ).
Proof. We compare the actual in-sum and out-sum at with the fictitious non-diagonal values. The degree drops from to , causing:
Hence
3 Proof of Main Theorem 1.1
Proof. We must show the oriented weights are pairwise distinct for all vertices. We prove the result through sequence to steps.
Step 1 (Out-sums are loop invariant) By Lemma 2.3,
where (Lemma 2.4) and (Lemma 2.5) depend only on and the vertex index , but not on the loop structure. Hence, value of remains same for every loop of order .
Step 2 (Out-sums are pairwise distinct.) We show for all . It is sufficient to show the values are all different. Using Lemma 2.3 and Lemma 2.5, the difference between consecutive out-sums is
(1)
Since , we consider three different cases.
Case 1: is non-diagonal, is non-diagonal ( ). Equation (1) gives
Case 2: is diagonal, is non-diagonal ( , ). Then, , so and (for ). Hence
Substituting into the equation (1) we get:
For (the vertex ), the diagonal is the very first vertex, so trivially. For , substituting :
Now, for all ,
Therefore,
Case 3: u is diagonal, is non-diagonal ( , ). Equation (1) gives
since always.
In all three cases , and since is determined solely by the degree sequence (Step 1), the values are pairwise distinct.
Step 3 (Structure of the in-sums.) Fix vertex . By the edge rule of the construction:
- If : the in-arcs of come from all vertices , , via first edge rule. Each such vertex contributes one arc-label from its own out-arc block, so
a sum of exactly k labels drawn from k distinct blocks.
- If : the in-arcs come from vertices with , , via second edge rule, together with the arc from for when .
In both cases is a sum of exactly labels, one from each in-arc's block.
Step 4 (Distinctness of the weights.) The vertex sequence visits , , ..., , , ..., row by row. Every consecutive pair falls into exactly one of the four cases below, determined by the diagonal status of and and whether a row boundary is crossed.
Case 1 (Both non-diagonal, same row). with and .
By Proposition 2.12, only the b-term and the Iverson bracket differ between and . Since neither b nor equals a, the transition does not cross the threshold : . Therefore,
Case 2 (Non-diagonal → Diagonal). , where .
Vertex is non-diagonal with , so . By Proposition 2.13, , where uses and . The fictitious non-diagonal step would give (both brackets vanish, as in Case 1). Adding the diagonal correction:
For , this is at most .
Case 3 (Diagonal → Non-diagonal, same row). , where .
The non-diagonal weight at uses , so . The fictitious non-diagonal step gives . Since exceeds by (Proposition 2.13), the actual difference is:
For , this is at most .
Case 4 (Row change). , where .
Both vertices are non-diagonal since ; since . Applying Proposition 2.12 directly with (since ) and :
Subtracting:
☐
4 Consequences
Corollary 4.1 (Loop-Invariance). The antimagic property of depends only on k, not on the isomorphism class of the loop. If and are non-isomorphic loops of order k, then both and are antimagic under the same explicit labeling f.
Proof. By Step 1 of Theorem 1.1, is the same for every loop of order k. The distinctness of the out-sums (Step 2) and the weight contradiction (Step 4) therefore apply uniformly to all loops of order k.
Worked Example: Antimagic Labeling for
We illustrate every step of Theorem 1.1 with the smallest nontrivial case , so that the reader may verify each formula against concrete numbers before examining the general argument.
The digraph and its arc set
With and , the vertex set is , containing vertices. Under the integer encoding , the vertices are ordered as
The three diagonal vertices are , , and , sitting at positions .
The arc rule states that the out-neighbours of in are . In we delete the self-loop at each diagonal vertex. The full arc list, sorted lexicographically by , appears in Table 1.
| Tail | Targets | Labels assigned | ||
|---|---|---|---|---|
Table 1: Diagonal vertices are marked with *. Labels run from 1 to .
Step 1: Computing the out-sums
By Lemma 2.3, the out-sum of vertex is . We verify this for every vertex using the values of and from Table 1.
Quick sanity check: the labels 1 through 24 are split among the nine vertices, so .
The nine out-sums 3, 12, 21, 30, 25, 45, 54, 63, 47 are pairwise distinct, confirming Step 2 of the theorem. Note, however, that the sequence is not monotone: there is a dip at the diagonal vertices and .
| Calculation | |||||
|---|---|---|---|---|---|
Table 2: Out-sums
Step 3: Computing the in-sums
The in-arcs of come from sources for each , excluding when is diagonal. From Table 1 we can read off the label of each in-arc directly.
Vertex , diagonal. In-arcs from for , namely and :
-
Arc : source , target is the 1st out-neighbour of vertex . Label .
-
Arc : source , target is the 1st out-neighbour of vertex . Label .
Vertex , non-diagonal. In-arcs from for all :
-
: source (diagonal, ), target is the 1st out-neighbour. Label .
-
: source , target is the 2nd. Label .
-
: source , target is the 2nd. Label .
Proceeding similarly for every vertex, we obtain:
Sanity check: .
Verification of the in-sum formulas
We now confirm that the closed-form expressions from Proposition 2.11 reproduce the numbers above.
For , the column-sum of offsets (Lemma 2.10) is :
Non-diagonal formula: (Proposition 2.11(a)).
| In-arc labels (by source) | |||
|---|---|---|---|
| 0 | from : ; from : | ||
| 1 | from : ; : ; : | ||
| 2 | from : ; : ; : | ||
| 3 | from : ; : ; : | ||
| 4 | from : ; : | ||
| 5 | from : ; : ; : | ||
| 6 | from : ; : ; : | ||
| 7 | from : ; : ; : | ||
| 8 | from : ; : |
Table 3: In-sums
Take : here , , is true, so .
Take : here , , is false, so .
Diagonal formula: (Proposition 2.11(b)).
Take : we have (from Table 1), so .
Step 4: Computing the weights and verifying strict decrease
The weight at each vertex is . Table 4 collects all values together with the consecutive difference and the transition type from Step 4 of the proof.
| Diag? | Case | ||||||
|---|---|---|---|---|---|---|---|
| 0 | Y | ||||||
| 1 | N | A | |||||
| 2 | N | D | |||||
| 3 | N | B, | |||||
| 4 | Y | C, | |||||
| 5 | N | D | |||||
| 6 | N | A | |||||
| 7 | N | B, | |||||
| 8 | Y |
Table 4: Complete weight computation for . Every consecutive difference is strictly negative.
Checking the case formulas. The four transition cases from the proof predict the following values for (where ):
• Case A (both non-diagonal, same row): .
Observed at transitions 0→1, 6→7: both give -6.
• Case B (non-diagonal → diagonal): .
At ( ): predicted -5, observed -5.
At ( ): predicted -6, observed -6.
• Case C (diagonal → non-diagonal): .
At is actually Case A. The genuine Case C transitions are ( ): predicted -5, observed -5.
• Case D (row change): .
At and : both give -6.
Verifying the weight formula. Proposition 2.12 with gives , so the non-diagonal weight is
For instance, (since 1 > 2 is false). This matches the table. For the diagonal vertex , Proposition 2.13 gives .
Observations
Several features visible in this example persist for all :
(i) The weight sequence is strictly decreasing: . This is the content of Step 4.
(ii) The sequence is anti-symmetric about its midpoint: for all . This symmetry follows from the structure of the weight formula and guarantees that the sum (Lemma 2.6).
(iii) The consecutive differences take only two values, -6 and -5. In general, the differences range between (Cases A and D) and the smallest Case C value .
(iv) The middle vertex carries weight , and it is the only vertex with this property. This rules out a magic labeling (Corollary 4.2).
(v) The out-sum is not monotone in (it dips at diagonal vertices), yet the weight is strictly monotone. The in-sum adjusts just enough to enforce the global decrease.
(vi) All nine weights are distinct integers, confirming that is an antimagic labeling of . Since every formula used depends only on and not on the specific loop , the same weight sequence arises for every loop of order 3.
References
[1] R. Rawat, On central digraphs constructed from left loops and loops, Quasigroups and Related Systems 31(1) (2023), 125–134.
[2] F. Curtis, J. Drew, C. K. Li and D. Pragel, Central groupoids, central digraphs, and zero-one matrices A satisfying , Journal of Combinatorial Theory, Series A 105(1) (2004), 35–50.
[3] D. E. Knuth, Notes on central groupoids, Journal of Combinatorial Theory 8(4) (1970), 376–390.
[4] D. Hefetz, T. Mütze and J. Schwartz, On antimagic directed graphs, Journal of Graph Theory 64(3) (2010), 219–232.
[5] N. Alon, Combinatorial Nullstellensatz, Combinatorics, Probability and Computing 8(1–2) (1999), 7–29.
[6] N. Alon, Combinatorial Nullstellensatz, Combinatorics, Probability and Computing 8(1–2) (1999), 7–29.
[7] T. Boykett, Rectangular groupoids, Discrete Mathematics 313 (2013), 1514–1525.
[8] D. W. Cranston, Y.-C. Liang, and X. Zhu, Regular graphs of odd degree are antimagic, Journal of Graph Theory 80 (2015), 28–33.
[9] T. Eccles, Graphs of large linear size are antimagic, Journal of Graph Theory 81(3) (2016), 236–261.
[10] N. Hartsfield and G. Ringel, Pearls in Graph Theory: A Comprehensive Introduction, Academic Press, Boston, 1990.
[11] D. Hefetz, T. Mütze, and J. Schwartz, On antimagic directed graphs, Journal of Graph Theory 64(3) (2010), 219–232.
[12] D. E. Knuth, Notes on central groupoids, Journal of Combinatorial Theory 8(4) (1970), 376–390.
[13] T. Li, Z. Song, G. Wang, D. Yang, and C. Zhang, Antimagic orientations of even regular graphs, Journal of Graph Theory 90(1) (2019), 46–53.
[14] N. Alon, G. Kaplan, A. Lev, Y. Roditty, and R. Yuster, Dense graphs are antimagic, Journal of Graph Theory 47 (2004), 297–309.
[15] S. Shan, Antimagic orientation of graphs with minimum degree at least 33, Journal of Graph Theory 97(4) (2021), 568–579.
[16] A. Rosa, On certain valuations of the vertices of a graph, in: Théorie des graphes (Journées internationales d'étude, Rome, 1966), Dunod, Paris, 1967, pp. 349–355.
[17] R. Jha, A. K. Sharma, and M. Kumar, “An advanced image encryption algorithm based on Lorenz chaotic system and Latin square,” Security and Privacy, vol. 8, no. 3, e70128, 2025. DOI: 10.1002/spy2.70128.
[18] G. Alvarez and S. Li, “Some basic cryptographic requirements for chaos-based cryptosystems,” International Journal of Bifurcation and Chaos, vol. 16, no. 08, pp. 2129–2151, 2006.
[19] G. Chen, Y. Mao, and C. K. Chui, “A symmetric image encryption scheme based on 3D chaotic cat maps,” Chaos, Solitons & Fractals, vol. 21, no. 3, pp. 749–761, 2004.
[20] C. Li, D. Lin, B. Feng, J. Lü, and F. Hao, “Cryptanalysis of a chaotic image encryption algorithm based on information entropy,” IEEE Access, vol. 6, pp. 75834–75842, 2018.
[21] R. Matthews, “On the derivation of a ‘chaotic’ encryption algorithm,” Cryptologia, vol. 13, no. 1, pp. 29–42, 1989.
[22] J. Fridrich, “Symmetric ciphers based on two-dimensional chaotic maps,” International Journal of Bifurcation and Chaos, vol. 8, no. 06, pp. 1259–1284, 1998.
[23] Z. Hua, F. Jin, B. Xu, and H. Huang, “2D Logistic-Sine-coupling map for image encryption,” Signal Processing, vol. 149, pp. 148–161, 2018.
[24] N. K. Pareek, V. Patidar, and K. K. Sud, “Image encryption using chaotic logistic map,” Image and Vision Computing, vol. 24, no. 9, pp. 926–934, 2006.
[25] V. Arnold and A. Avez, Ergodic Problems of Classical Mechanics. Benjamin, 1968.
[26] J. Scharinger, “Fast encryption of image data using chaotic Kolmogorov flows,” Journal of Electronic Imaging, vol. 7, no. 2, pp. 318–325, 1998.
[27] E. N. Lorenz, “Deterministic nonperiodic flow,” Journal of the Atmospheric Sciences, vol. 20, no. 2, pp. 130–141, 1963.
[28] G. Chen and T. Ueta, “Yet another chaotic attractor,” International Journal of Bifurcation and Chaos, vol. 9, no. 07, pp. 1465–1466, 1999.
[29] T. Gao, G. Chen, Z. Chen, and S. Cang, “The generation and circuit implementation of a new hyper-chaos based upon Lorenz system,” Physics Letters A, vol. 361, no. 1–2, pp. 78–86, 2007.
[30] C. Li, S. Li, G. Chen, and W. A. Halang, “Cryptanalysis of an image encryption scheme based on a compound chaotic sequence,” Image and Vision Computing, vol. 27, no. 8, pp. 1035–1039, 2009.
[31] F. Yu, L. Li, Q. Tang, S. Cai, Y. Song, and Q. Xu, “A survey on true random number generators based on chaos,” Discrete Dynamics in Nature and Society, vol. 2019, 2019.
[32] Z. Hua and Y. Zhou, “Image encryption using 2D Logistic-adjusted-Sine map,” Information Sciences, vol. 339, pp. 237–253, 2016.
[33] X. Wang, L. Teng, and X. Qin, “A novel colour image encryption algorithm based on chaos,” Signal Processing, vol. 92, no. 4, pp. 1101–1108, 2012.
[34] L. Liu, Q. Zhang, and X. Wei, “A RGB image encryption algorithm based on DNA encoding and chaos map,” Computers & Electrical Engineering, vol. 38, no. 5, pp. 1240–1248, 2012.