TARU PUBLICATIONS
Journal of Information and Optimization Sciences cover
Open Access ·Peer-reviewed·ISSN (Online): 2169-0103·ISSN (Print): 0252-2667

WoS  JIF 2026 : 0.4 (Q4)

Powered by:Powered by

Monthly Journal: Publishes theoretical and applied research on topics in information and optimization sciences.

Issues up to 2022 co-published with and available at:Taylor & Francis
submissions@tarupublications.com
Open Access Research Article

Log-linear algorithm to generate prime trees

, *

* Corresponding author · click or hover a name for details

pp. 2635–2649Vol. 47Issue 7July 2026DOI: 10.47974/JIOS-2176XML
Received:
11 Jun 2025
Published Online:
05 Mar 2026
Article type:
Research Article
Language:
EN
Article no.:
JIOS-2176
Pages:
2635–2649

Abstract

A graph G is considered to have a prime labeling when each of its |V| vertices is assigned a unique label from the set {1, 2, 3, 4, …,|V|}, ensuring that the labels of any two connected vertices are coprime. In 1980, Roger Entringer proposed the conjecture that ``All trees have a Prime labeling”, which is not settled till today. In spite of many researchers working on prime labeling, conjecture on prime trees is still open. Up to our knowledge, no one has given an algorithm to generate prime trees. In this paper, given an arbitrary tree T, we develop an algorithm to construct a prime labeled tree T’ such that T is a subtree of T’. We extend this algorithm for k arbitrary trees Ti, where i = 1, 2, 3, …, k to construct a larger prime labeled tree T’ such that each Ti is a subtree of T’. We also develop a log-linear algorithm to construct a larger prime labeled tree T’ from k prime trees Ti, where i = 1, 2, 3, …, k such that Ti is a subtree of T’. Further, we prove the correctness of the proposed algorithms and obtain the time complexity of the proposed algorithms.

Keywords

Subject Classifications

05C7805C76

References

[1] J. A. Bondy and U. S. R. Murty, Graph Theory with Applications. London, U.K.: Macmillan (1976).
[2] H. L. Fu and K. C. Huang, “On prime labellings,” Discrete Mathematics, vol. 127, no. 1–3, pp. 181–186 (1994).
[3] J. A. Gallian, “A dynamic survey of graph labeling,” Electronic Journal of Combinatorics, vol. 6, no. DS6, pp. 1–623 (2022).
[4] O. Pikhurko, “Trees are almost prime,” Discrete Mathematics, vol. 307, no. 11–12, pp. 1455–1462 (2007).
[5] L. Robertson and B. Small, “On Newman’s conjecture and prime trees,” (2009).
[6] A. Rosa, “On certain valuations of the vertices of a graph,” in Theory of Graphs (International Symposium, Rome, July 1966). New York, NY, USA: Gordon and Breach, pp. 349–355 (1967).
[7] H. Salmasian, “A result on prime labelings of trees,” Bulletin of the Institute of Combinatorics and its Applications, vol. 28, pp. 36–38, 2000).
[8] A. Tout, A. N. Dabboucy, and K. Howalla, “Prime labeling of graphs,” National Academy Science Letters, vol. 11, pp. 365–368 (1982).

Views: 142Downloads: 72Citations: 0