An antimagic labeling of a graph G is a bijection from the set of edges E(G) to {1, 2, . . . , |E(G)|} such that all vertex sums are pairwise distinct, where the vertex sum at vertex u is the sum of the labels assigned to the edges incident to u. A graph is called antimagic when it has an antimagic labeling. Hartsfield and Ringel conjectured that every simple connected graph other than K 2 is antimagic and the conjecture remains open even for trees. Here we prove that caterpillars are antimagic by means of an O(n log n) algorithm.
A k-antimagic labeling of a graph G is an injection from E(G) to {1, 2, . . . , |E(G)| + k} such that all vertex sums are pairwise distinct, where the vertex sum at vertex u is the sum of the labels assigned to edges incident to u. We call a graph k-antimagic when it has a k-antimagic labeling, and antimagic when it is 0-antimagic. Hartsfield and Ringel [13] conjectured that every simple connected graph other than K 2 is antimagic, but the conjecture is still open even for trees. Here we study k-antimagic labelings of caterpillars, which are defined as trees the removal of whose leaves produces a path, called its spine. As a general result, we use algorithmic aproaches, i.e., constructive approaches, to prove that any caterpillar of order n is ( (n − 1)/2 − 2)-antimagic. Furthermore, if C is a caterpillar with a spine of order s, we prove that when C has at least (3s + 1)/2 leaves or (s − 1)/2 consecutive vertices of degree at most 2 at one end of a longest path, then C is antimagic. As a consequence of a result by Wong and Zhu [22], we also prove that if p is a prime number, any caterpillar with a spine of order p, p − 1 or p − 2 is 1-antimagic. *
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.