CFP last date
20 May 2024
Reseach Article

Every Complete Binary Tree is Prime

by Joseph Chang
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 106 - Number 14
Year of Publication: 2014
Authors: Joseph Chang
10.5120/18585-9909

Joseph Chang . Every Complete Binary Tree is Prime. International Journal of Computer Applications. 106, 14 ( November 2014), 1-5. DOI=10.5120/18585-9909

@article{ 10.5120/18585-9909,
author = { Joseph Chang },
title = { Every Complete Binary Tree is Prime },
journal = { International Journal of Computer Applications },
issue_date = { November 2014 },
volume = { 106 },
number = { 14 },
month = { November },
year = { 2014 },
issn = { 0975-8887 },
pages = { 1-5 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume106/number14/18585-9909/ },
doi = { 10.5120/18585-9909 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-06T22:39:22.018839+05:30
%A Joseph Chang
%T Every Complete Binary Tree is Prime
%J International Journal of Computer Applications
%@ 0975-8887
%V 106
%N 14
%P 1-5
%D 2014
%I Foundation of Computer Science (FCS), NY, USA
Abstract

A graph with a vertex set V is said to have a prime labeling if its vertices can be labeled with distinct integers 1; 2; ; jV j such that for every edge fx; yg, the labels assigned to x and y are relatively prime. A tree is prime if it has at least one prime labeling. Around 1980, Entringer conjectured that every tree is prime. After three decades, this conjecture remains open. Nevertheless, a few special classes of trees, specifically paths, stars, caterpillars, spiders, and small trees, have been shown to be prime. Among different types of trees, binary trees are probably the most frequently used in computer science. Fu and Huang showed that every perfect binary tree of order 2d . . 1 is prime. Although Fu and Huang ambiguously called perfect binary trees as complete binary trees in their paper, it has been verified that they only proved that perfect binary trees are prime. In this paper, the author looked beyond perfect binary trees and devised a two-step method to prove that every complete binary tree is prime. First, for the case of 2k . . 1 vertices, a near prime labeling was constructed such that the co-prime requirement was satisfied for every edge, except possibly for the edges between right leaves and their parents. In order to successfully construct a prime labeling without co-prime violations, the original prime labeling problem was transformed into a complete (co-prime) matching problem between the right leaves and their parents. By applying Hall's Theorem, we proved that a complete (co-prime) matching exists for the right leaves and their parents, thus proving that a prime labeling exists for every complete binary tree with 2k . . 1 vertices. Second, for the case of 2k vertices, we applied Bertrand-Chebyshev Theorem and proved that a three-way child swap could be performed to construct a prime labeling for 2k vertices based on the prime labeling for 2k . . 1 vertices, thus completing the proof that every complete binary tree of any number of vertices is prime. Our proof that all complete binary trees are prime broadens the coverage of the tree classes that are known to be prime and propels the research one step closer to prove Entringer's conjecture.

References
  1. P. E. Black. Complete binary tree. U. S. National Institute of Standards and Technology, 2011. http://xlinux. nist. gov/dads.
  2. H. L. Fu and K. C. Huang. On prime labelling. Discrete Math. , 127:181–186, 1994.
  3. J. A. Gallian. A dynamic survey of graph labeling. The Electronic Journal of Combinatorics, 16, 2013.
  4. P. Hall. On representatives of subsets. J. London Math. Soc. , 10:26–30, 1935.
  5. P. Haxell, O. Pikhurko, and A. Taraz. Primality of trees. J. Combinatorics, 2:481–500, 2011.
  6. O. Pikhurko. Trees are almost prime. Discrete Math. , 307:1455–1462, 2007.
  7. Sondow and Weisstein. Bertrand's postulate. From MathWorld – A Wolfram Web Resource. http://mathworld. wolfram. com/BertrandsPostulate. html.
  8. A. Tout, A. N. Dabboucy, and K. Howalla. Prime labeling of graphs. Nat. Acad. Sci. Letters, 11:365–368, 1982.
  9. S. K. Vaidya and U. M. Prajapati. Some new results on prime graphs. J. Discrete Math. , 2:99–104, 2012.
  10. Weisstein. Bipartite graph. From MathWorld – A Wolfram Web Resource. http://mathworld. wolfram. com/BipartiteGraph. html.
  11. Y. Zou and P. E. Black. Perfect binary tree. U. S. National Institute of Standards and Technology, 2008. http://xlinux. nist. gov/dads.
Index Terms

Computer Science
Information Sciences

Keywords

prime labeling Entringer's conjecture complete binary tree