Abstract
Graph labeling is a well-known and intensively investigated problem in graph theory. Sparse anti-magic squares are useful in constructing vertex-magic labeling for graphs. For positive integers n and d with \(d<n\), an \(n\times n\) array A based on \(\{0,1,\ldots ,nd\}\) is called a sparse anti-magic square of order n with density d, denoted by SAMS(n, d), if each element of \(\{1,2,\ldots ,nd\}\) occurs exactly one entry of A, and its row-sums, column-sums and two main diagonal-sums constitute a set of \(2n+2\) consecutive integers. An SAMS(n, d) is called regular if there are exactly d non-zero elements (or positive entries) in each row, each column and each main diagonal. In this paper, we investigate the existence of regular sparse anti-magic squares of odd order, and it is proved that for any odd n, there exists a regular SAMS(n, d) if and only if \(2\le d\le n-1\).
Similar content being viewed by others
References
Abe, G.: Unsolved problems on magic squares. Discret. Math. 127, 3–13 (1994)
Ahmed, M.: Algebraic combinatorics of magic squares. Ph.D Dissertation, University of California, Davis (2004)
Andrews, W.S.: Magic Squares and Cubes, 2nd edn. Dover, New York (1960)
Chen, G., Chen, H., Chen, K., Li, W.: Regular sparse anti-magic squares with small odd densities. Discret. Math. 339, 138–156 (2016)
Chen, G., Li, W., Zhong, M., Xin, B.: Constructions of regular sparse anti-magic squares. arXiv:2002.07357
Chen, K., Chen, G., Li, W.: Regular sparse anti-magic squares with the second maximum density. Linear Algebra Appl. 457, 12–28 (2014)
Chen, K., Li, W., Chen, G., Wei, R.: Regular sparse anti-magic squares with maximum density. Ars Comb. 126, 167–183 (2017)
Cormie, J., Linek, V., Jiang, S., Chen, R.: Investigating the antimagic square. J. Comb. Math. Comb. Comput. 43, 175–197 (2002)
Gray, I.D.: Vertex-magic total labelings of regular graphs. SIAM J. Discret. Math. 21(1), 170–177 (2007)
Gray, I.D., MacDougall, J.A.: Sparse anti-magic squares and vertex-magic labelings of bipartite graphs. Discret. Math. 306, 2878–2892 (2006)
Gray, I.D., MacDougall, J.A.: Sparse semi-magic squares and vertex-magic labelings. Ars Comb. 80, 225–242 (2006)
Gray, I.D., MacDougall, J.A.: Vertex-magic labeling of regular graphs: disjoint unions and assemblages. Discret. Appl. Math. 160, 1114–1125 (2012)
Gray, I.D., MacDougall, J.A.: Vertex-magic labelings of regular graphs. II. Discret. Math. 309(20), 5986–5999 (2009)
Gray, I.D., MacDougall, J.A., Simpson, R.J., Wallis, W.D.: Vertex-magic total labelings of complete bipartite graphs. Ars Comb. 69, 117–127 (2003)
Jiang, S.: Anti-magic squares of even order. J. Kodai Math. 25, 1–7 (2002)
Kotzig, A.: On Magic Valuations of Trichromatic Graphs. Reports of the CRM, CRM-148, December (1971)
Kudrle, J.M., Menard, S.B.: Magic square. In: Colbourn, C.J., Dinitz, J.H. (eds.) The CRC Handbook of Combinatorial Designs, 2nd edn., pp. 524–528. CRC Press, Boca Raton (2006)
Li, W., Chen, K., Su, R.: Existence of regular sparse magic squares. Acta Math. Appl. Sin. (Chin. Ser.) 34, 1118–1135 (2011)
Liang, Y., Wong, T., Zhu, X.: Anti-magic labeling of trees. Discret. Math. 331, 9–14 (2014)
Liang, Y., Zhu, X.: Anti-magic labeling of cubic graphs. J. Graph Theory 75, 31–36 (2014)
Wallis, W.D.: Magic Graphs. Birkhäuser, Basel (2001)
Wallis, W.D.: Vertex magic labelings of multiple graphs. Congr. Numer. 152, 81–83 (2001)
Acknowledgements
The authors would like to thank Professor Zhu Lie of Suzhou University for his encouragement and many helpful suggestions. The authors thank the anonymous reviewers for their careful check, constructive comments and suggestions that greatly improved the quality of this paper.
Funding
This work was supported by National Natural Science Foundation of China (Grant nos. 11871417, 11501181 and 71962030). This work was also supported by Youth Fund of Humanities and Social Sciences, Ministry of Education (Grant no. 20YJC910009).
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Appendix 1
\((n,d)=(21,16)\)
Note that the last column is the row-sums, the last row is the column-sums, the left diagonal-sum is 2696 and the right diagonal-sum is 2718.
Appendix 2
Example 2
There exists a regular SAMS(n, d) for \((n,d)\in \{(9,6),(15,5),(27,22)\}\).
Proof
For \((n,d)=(9,6)\), we write \(d=t+2\), then \(t=d-2=4\), by Lemma 4.3, there exists an SFD(4, 9) over [1, 36] below.
Let \(C^*=(c_{i,j}^*)\), where \( c^*_{i,j}= \left\{ \begin{array}{ll} c_{i,j}, &{}\quad \textit{if} \ i=1,2, \\ c_{i,j}+2n, &{}\quad \textit{if} \ i=3,4.\\ \end{array} \right. \)
We get E below by putting the element \(c_{i,j}^*\) into the cell of B as the way of the proof of Theorem 4.11.
The arrays A and W are the same as Theorem 2.2, and the array U is listed below by the proof of Theorem 4.11.
Then
is a regular SAMS(9, 6).
For \((n,d)=(15,5)\), let \(W^*\) be the regular SAMS(15, 2) from Theorem 2.2, which is the same as Example 1. Let B be the Latin square of order 15 and \(D=(d_{i,j})\) be the regular SMS(15, 3) by Lemma 4.9. Construct \(D^*=(d_{i,j}^*)\), where \(d_{i.j}^*=d_{i,j}+30\), and \(D^*\) is listed below.
Here, above empty cells all indicate 0. It is easy to check that \(D^*+W^*\) is a regular SAMS(15, 5).
For \((n,d)=(27,22)\). We shall obtain an SAMS(27, 22) by dividing two steps in the following.
Step 1: Construct a special SAMS(27, 10).
By Remark 3, there exists an SFD(8, 27), \(C=(c_{i,j})\), which is listed below.
By the proof of Theorem 4.14, the array \(C^*=(c^*_{i,j})\) is obtained as follows, where
Then \(E'\) and \(W^*\) are obtained by the proof of Theorem 4.14.
Then \(Q=E'+W^*\) is a regular SAMS(27, 10).
Step 2: Construct the array D in the proof of Theorem 4.14. The arrays \(C_1,C_2\) and \(C_3\) are an SFD(3, 27) over [271, 351], an SFD(6, 27) over [352, 513] and an SFD(3, 27) over [514, 594] respectively, which are listed in the following.
By Lemma 4.12, there exists a regular SMS(27, 6), denoted by \(D_2\), consisting of the red numbers in the following array, and the array \(D_1\) consist of the yellow and blue numbers in the following array. It is clear that the element sets of \(D_1\) and \(D_2\) are \([271,351]\cup [514,594]\) and [352, 513] respectively, and \(D_1\) and \(D_2\) are compatible. Then one can check that \(D=D_1+D_2\) is a regular SAMS(27, 12) over [271, 594], which is compatible with \(W^*\), so we can obtain a regular SAMS(27, 22) below.
\(\square \)
Rights and permissions
About this article
Cite this article
Chen, G., Li, W., Zhong, M. et al. On the Existence of Regular Sparse Anti-magic Squares of Odd Order. Graphs and Combinatorics 38, 47 (2022). https://doi.org/10.1007/s00373-021-02437-z
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s00373-021-02437-z