<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Magic_graph</id>
	<title>Magic graph - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Magic_graph"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Magic_graph&amp;action=history"/>
	<updated>2026-05-12T15:07:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Magic_graph&amp;diff=2603524&amp;oldid=prev</id>
		<title>imported&gt;Beland: custom spacing in math formulas (via WP:JWB)</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Magic_graph&amp;diff=2603524&amp;oldid=prev"/>
		<updated>2025-05-19T00:19:06Z</updated>

		<summary type="html">&lt;p&gt;custom spacing in math formulas (via &lt;a href=&quot;/wiki143/index.php?title=WP:JWB&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:JWB (page does not exist)&quot;&gt;WP:JWB&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{No footnotes|date=November 2024}}&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;magic graph&amp;#039;&amp;#039;&amp;#039; is a [[Graph (discrete mathematics)|graph]] whose edges are labelled by  the first &amp;#039;&amp;#039;q&amp;#039;&amp;#039; positive [[integer]]s, where &amp;#039;&amp;#039;q&amp;#039;&amp;#039; is the number of edges, so that the sum over the edges incident with any vertex is the same, independent of the choice of vertex; or it is a graph that has such a labelling.  The name &amp;quot;magic&amp;quot; sometimes means that the integers are any positive integers; then the graph and the labelling using the first &amp;#039;&amp;#039;q&amp;#039;&amp;#039; positive integers are called &amp;#039;&amp;#039;&amp;#039;supermagic&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
A graph is &amp;#039;&amp;#039;&amp;#039;vertex-magic&amp;#039;&amp;#039;&amp;#039; if its vertices can be labelled so that the sum on any edge is the same.  It is &amp;#039;&amp;#039;&amp;#039;total magic&amp;#039;&amp;#039;&amp;#039; if its edges and vertices can be labelled so that the vertex label plus the sum of labels on edges incident with that vertex is a constant.&lt;br /&gt;
&lt;br /&gt;
There are a great many variations on the concept of magic labelling of a graph.  There is much variation in terminology as well.  The definitions here are perhaps the most common.&lt;br /&gt;
&lt;br /&gt;
Comprehensive references for magic labellings and magic graphs are Gallian (1998), Wallis (2001), and Marr and Wallis (2013).&lt;br /&gt;
&lt;br /&gt;
==Magic squares==&lt;br /&gt;
[[File:4x4_magic_square_hierarchy.svg|thumb|upright|[[Euler diagram]] of properties of some types of 4&amp;amp;thinsp;×&amp;amp;thinsp;4 magic squares. Cells of the same colour sum to the magic constant.&amp;lt;br /&amp;gt;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt; In 4&amp;amp;thinsp;×&amp;amp;thinsp;4 [[most-perfect magic square]]s, any 2 cells that are 2 cells diagonally apart (including wraparound) sum to half the magic constant, hence any 2 such pairs also sum to the magic constant.]]&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;semimagic square&amp;#039;&amp;#039;&amp;#039; is an &amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;amp;thinsp;×&amp;amp;thinsp;&amp;#039;&amp;#039;n&amp;#039;&amp;#039; square with the numbers 1 to &amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; in its cells, in which the sum of each row and column is the same.  A semimagic square is equivalent to a magic labelling of the [[complete bipartite graph]] &amp;#039;&amp;#039;K&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;,&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;.  The two vertex sets of &amp;#039;&amp;#039;K&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;,&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; correspond to the rows and the columns of the square, respectively, and the label on an edge &amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;j&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; is the value in row &amp;#039;&amp;#039;i&amp;#039;&amp;#039;, column &amp;#039;&amp;#039;j&amp;#039;&amp;#039; of the semimagic square.  &lt;br /&gt;
&lt;br /&gt;
The definition of semimagic squares differs from the definition of [[magic square]]s in the treatment of the diagonals of the square. Magic squares are required to have diagonals with the same sum as the row and column sums, but for semimagic squares this is not required. Thus, every magic square is semimagic, but not vice versa.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* Nora Hartsfield and [[Gerhard Ringel]] (1994, 2003), &amp;#039;&amp;#039;Pearls in Graph Theory&amp;#039;&amp;#039;, revised edition.  Dover Publications, Mineola, N.Y.  Section 6.1.&lt;br /&gt;
* [[W. D. Wallis]] (2001), &amp;#039;&amp;#039;Magic Graphs&amp;#039;&amp;#039;. Birkhäuser Boston, Boston, Mass.  {{isbn|0-8176-4252-8}}&lt;br /&gt;
* [[Alison Marr|Alison M. Marr]] and W. D. Wallis (2013), &amp;#039;&amp;#039;Magic Graphs&amp;#039;&amp;#039;. Second edition. Birkhäuser/Springer, New York.  {{isbn|978-0-8176-8390-0}}; 978-0-8176-8391-7&lt;br /&gt;
* Joseph A. Gallian (1998), [https://www.combinatorics.org/ojs/index.php/eljc/article/view/DS6 A dynamic survey of graph labeling.] &amp;#039;&amp;#039;Electronic Journal of Combinatorics&amp;#039;&amp;#039;, vol. 5, Dynamic Survey 6.  Updated many times.&lt;br /&gt;
&lt;br /&gt;
{{Magic polygons}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Graphs]]&lt;br /&gt;
[[Category:Magic figures]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{graph-stub}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Beland</name></author>
	</entry>
</feed>