Abstract

Graceful labeling is one of the most researched problems. One of the earliest results is that caterpillars are graceful. We show that caterpillars connected to a vertex recursively satisfying certain conditions are also graceful.

1. Introduction

Let be any arbitrary tree on edges. If its vertices can be distinctly labeled using integers so that all the induced edge labels (vertices labeled and induce label on edge ) are also distinct, then the labeling is called graceful. It was conjectured that all trees are graceful. This has connection with Ringel’s conjecture and some related results can be found in [1, 2]; Kotzig later conjectured that such a decomposition could be achieved cyclically. Rosa [2] established that these conjectures could be solved by showing that every tree is graceful.

The conjecture has been very widely studied and new classes of trees have been proved to be graceful (see [35]). However, it has not been possible to devise a single algorithm to stand out against the conjecture for any arbitrary tree. The research has continued in two directions: newer and more generalized classes of graceful trees are discovered [68] or graceful labeling has been computed for all larger trees up to a fixed order. Computationally, it has been shown so far that all trees with up to 35 vertices are graceful [9]. Graceful labeling has found useful applications in coding theory, X-ray crystallography, radar, astronomy, circuit design, communication network addressing, and database management (see [10, 11]).

In Section 2, we define the classes of trees that have already been proved graceful and critical to our work. Section 3 defines our work of two new classes of trees that have been proved graceful.

2. Gracefully Labeled Trees

Let us introduce the classes of trees for which graceful labeling has been found.

A path is a tree with only two leaves. A caterpillar is a tree such that if all leaves are removed, the remaining graph is a path. This path can be termed as backbone of the caterpillar. Rosa [12] proved that all caterpillars are graceful. In Figure 1, a gracefully labeled caterpillar has been shown. A caterpillar is labeled from one end of its backbone with . Its adjacent vertices are labeled using so far unused largest labels in such a way that vertices on the path get alternately the largest and smallest labels. In this way, while we label vertices the largest unused edge labels are generated. It may be noted that for an -edge tree if is a graceful labeling, then so is . So we can label any end of a caterpillar by or by .

A rooted tree in which every level contains vertices of the same degree is called symmetrical trees. Bermond and Schönheim [13] proved that all symmetrical trees are graceful as in Figure 2.

In this paper, we prove that super-caterpillars obtained by joining a set of caterpillars of a special type to a vertex are also graceful (Figures 4 and 5).

3. New Classes of Graceful Trees

Let us introduce the following classes of trees.

Definition 1. Let be any arbitrary caterpillar and let , , be caterpillars with number of vertices and the sum of vertex numbers is the same in odd levels of all pairs and . In case of being an odd number, one caterpillar will be without a pair. Let a leaf attached to backbone of each be joined to a vertex by an edge. Then the resulting tree is called a super-caterpillar.

Two super-caterpillars are illustrated in Figure 3 with odd and even . Now we have the following result.

Theorem 2. All super-caterpillars are graceful.

Proof of Theorem 2. Let us assume for simplicity that we have caterpillars joined to and that each caterpillar has the same number of vertices, also a total of vertices in odd levels,   being equal for each pair of caterpillars and . We also denote the vertex of connected to by . Let us label by . Now vertices of caterpillars will be in turn labeled using the smallest and largest labels following caterpillar-labeling schemes so that edge numbers are generated in descending order. The endpoint of connected to is labeled , and we will use up labels in of which large, namely, , and small labels, namely, . Thus the last edge label created is . In the next caterpillar, both the smallest and largest labels will differ by from the labels used in the previous tree. In particular, one vertex will get label and the other one resulting in edge label missing the label . We are going to use up large and small labels in in bottom up fashion. Note that . will be labeled in such a way that ends getting the smallest unused label, that is, label . In this way in tandem vertices of odd levels will be numbered by big and small numbers, respectively, for odd and even indexed caterpillars. This will result in label for odd , whereas label is for even ones. For each pair of caterpillars, labels and will be missing which will be generated on edges incident to vertex .
Now assume that we have one arbitrary caterpillar and any caterpillars having the same number of vertices and that the last caterpillar has vertices but not necessarily having equal number of vertices in odd levels as all previous pairs have. One end of backbone of each caterpillar is connected to . So total number of edges in the tree will be . Now start labeling in such a way that we end up labeling by shifting label of by . Large labels have also been shifted by , thus producing labels on the edge incident to , which we have missed in moving from one caterpillar to the next. Now for we are left with numbers from to . This way all s, adjacent to root , will be labeled by multiples of . After we have completed labeling all pairs of caterpillars, we will be left with consecutive integers to label the vertices of the unpaired caterpillar and generate the remaining smallest possible edge labels.

Definition 3. Let there be any numbers of caterpillars each having vertices and total number of vertices in odd (or even) levels of these caterpillars are the same. These caterpillars are grouped in groups each having caterpillars. Let backbones of each group of caterpillars be connected to vertex that is connected to vertex . Then the resulting tree is called an extended super-caterpillar.

An extended super-caterpillar is illustrated in Figure 6 with six caterpillars grouped in two (), where each group has three caterpillars () joined with a vertex . Each caterpillar contains nine vertices (). Now we have the following result.

Theorem 4. All extended super-caterpillars are graceful.

Proof of Theorem 4. Theorem 2 asserts that we can label each group of caterpillars with root , , gracefully. Root , connected to all , is labeled and labels of the remaining vertices in the tree are incremented by one. Let be the total number of vertices in each group (where ). For group , we will be labeling all odd level vertices by adding an offset and for even level vertices where . So gets label , and therefore edge gets label .
We will get the consecutive edge labels having the largest differences to in groups and for except and (Figure 9). Similarly, next consecutive differences to are found in and for again missing and . So in general we can say that differences to are generated while missing and where . These numbers are multiples of which have already been generated in edges , .
The following examples show how this labeling is done in an extended super-caterpillar consisting of six caterpillars as in Figure 7 grouped in three (Figure 8) or two (Figure 10) ( or ). Here each caterpillar has 9 vertices (). Then both of these groups are connected with and gracefully labeled as in Figures 9 and 11.

4. Conclusion

We have proved that two fairly general classes of trees are graceful. In particular, if a number of caterpillars have equal number of vertices and total number of vertices in odd levels of each caterpillar are equal, then such caterpillars can be joined to a vertex to obtain a graceful tree. In our future work, we would like to see if more generalized trees constructed from caterpillar can be gracefully labeled.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.