<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="ru"><front><journal-meta><journal-id journal-id-type="publisher-id">ellibs</journal-id><journal-title-group><journal-title xml:lang="ru">Электронные библиотеки</journal-title><trans-title-group xml:lang="en"><trans-title>Russian Digital Libraries Journal</trans-title></trans-title-group></journal-title-group><issn pub-type="epub">1562-5419</issn><publisher><publisher-name>Казанский (Приволжский) федеральный университет</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.26907/1562-5419-2021-24-3-474-484</article-id><article-id custom-type="elpub" pub-id-type="custom">ellibs-282</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>Статьи</subject></subj-group></article-categories><title-group><article-title>Задача о существовании дерева с характеристическим вектором узловых вершин</article-title><trans-title-group xml:lang="en"><trans-title>The Problem of the Existence of a Tree with a Characteristic Vector of Node Vertices</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Попов</surname><given-names>И. Н.</given-names></name><name name-style="western" xml:lang="en"><surname>Popov</surname><given-names>I. N.</given-names></name></name-alternatives><email xlink:type="simple">PopovIvanNik@yandex.ru</email><xref ref-type="aff" rid="aff-1"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>САФУ имени М.В. Ломоносова</institution></aff><aff xml:lang="en"><institution>Northern (Arctic) Federal University named after M.V. Lomonosov</institution></aff></aff-alternatives><pub-date pub-type="collection"><year>2021</year></pub-date><pub-date pub-type="epub"><day>28</day><month>06</month><year>2021</year></pub-date><volume>24</volume><issue>3</issue><fpage>474</fpage><lpage>484</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Попов И.Н., 2021</copyright-statement><copyright-year>2021</copyright-year><copyright-holder xml:lang="ru">Попов И.Н.</copyright-holder><copyright-holder xml:lang="en">Popov  I.N.</copyright-holder><license xml:lang="ru" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>Данная работа распространяется под лицензией Creative Commons Attribution 4.0.</license-p></license><license xml:lang="en" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://ellibs.elpub.ru/jour/article/view/282">https://ellibs.elpub.ru/jour/article/view/282</self-uri><abstract><p>В работе рассматривается задача о существовании дерева с определенными числовыми характеристиками. Если задано дерево, то можно определить количества узловых вершин дерева и листьев, а также определить их степени. Тем самым для дерева можно определить набор пар, составные которых есть числа, соответствующие количествам узловых вершин и их степеней. Можно сформулировать обратную задачу: задаются пары натуральных чисел, вторые компоненты которых больше 1, и следует определить, найдется ли хотя бы одно дерево, что количества его узловых вершин и их степеней совпадают с данными парами. Решение этой задачи представлено в данной работе.
</p></abstract><trans-abstract xml:lang="en"><p>The paper presents the problem of the existence of a tree with certain numerical characteristics. It is clear that if a tree is given, it is possible to determine the number of node vertices of the tree and leaves, as well as to determine their degrees. Thus, for a tree, you can define a set of pairs whose coordinates are numbers corresponding to the number of node vertices and their degrees. We can form the inverse problem: we give pairs of natural numbers whose second coordinates are greater than 1, and we should determine whether there is at least one tree that the numbers of its node vertices and their degrees coincide with these pairs. The solution to this problem is presented in this paper.
</p></trans-abstract><kwd-group xml:lang="ru"><kwd>алгоритм</kwd><kwd>граф-дерево</kwd><kwd>код Прюфера дерева</kwd></kwd-group><kwd-group xml:lang="en"><kwd>Python</kwd></kwd-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Иванов Б.Н. Дискретная математика. Алгоритмы и программы. М.: Лаборатория базовых знаний, 2001. 288 с.</mixed-citation><mixed-citation xml:lang="en">Иванов Б.Н. Дискретная математика. Алгоритмы и программы. М.: Лаборатория базовых знаний, 2001. 288 с.</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Калужнин Л.А., Сущанский В.И. Преобразования и перестановки. М.: Наука. Главная редакция физико-математической литературы, 1985. 160 с.</mixed-citation><mixed-citation xml:lang="en">Калужнин Л.А., Сущанский В.И. Преобразования и перестановки. М.: Наука. Главная редакция физико-математической литературы, 1985. 160 с.</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Нефедов В.Н., Осипова В.А. Курс дискретной математики. М.: Изд-во МАИ, 1992. 264 с.</mixed-citation><mixed-citation xml:lang="en">Нефедов В.Н., Осипова В.А. Курс дискретной математики. М.: Изд-во МАИ, 1992. 264 с.</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Попов И.Н, Попова А.В. Разложение подстановок в циклы: реализация приложений с помощью Python // Сборник трудов Международной научной конференции «Актуальные проблемы прикладной математики, информатики и механики», Воронеж, Россия, 11-13 ноября 2019 г. Воронеж: Издательство «Научно-исследовательские публикации», 2020. С. 484-491.</mixed-citation><mixed-citation xml:lang="en">Попов И.Н, Попова А.В. Разложение подстановок в циклы: реализация приложений с помощью Python // Сборник трудов Международной научной конференции «Актуальные проблемы прикладной математики, информатики и механики», Воронеж, Россия, 11-13 ноября 2019 г. Воронеж: Издательство «Научно-исследовательские публикации», 2020. С. 484-491.</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Lutz M. Learning Python, 4th Edition. O'Reilly Media, Inc. 2011. 1280 p.</mixed-citation><mixed-citation xml:lang="en">Lutz M. Learning Python, 4th Edition. O'Reilly Media, Inc. 2011. 1280 p.</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
