<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:xlink="http://www.w3.org/1999/xlink">
<front><article-meta>
<title-group><article-title>A Comparative Study of Continued Fraction and AI Methods for Polynomial Pell Equations</article-title></title-group>
<contrib-group>
<contrib contrib-type="author"><name><surname>Liđan</surname><given-names>Edin</given-names></name><xref ref-type="aff" rid="aff1"/></contrib>
<contrib contrib-type="author"><name><surname>Tatjana</surname><given-names>Stanković</given-names></name><xref ref-type="aff" rid="aff2"/></contrib>
<aff id="aff1">Third Gymnasium, Sarajevo, Bosnia and Herzegovina.</aff>
<aff id="aff2">Belgrade Business and Arts Academy of Applied Studies, Belgrade, Serbai.</aff>
</contrib-group>
<abstract><p>In this paper, we provide an overview of the comparative analysis of solving the Pell’s equation x2 −Dy2 = 1 and the corresponding Pell’s type equation x2 − Dy2 = −1, where D is a given quadratic polynomial that is not a perfect square, by using tools based on generative artificial intelligence. The use of artificial intelligence today has a large and diverse application in society and science. It is important to carefully consider when, to what extent and whether to use artificial intelligence tools in some learning, research or analysis. Therefore, it is very meaningful to test AI tools in its wide range of applications. The use of artificial intelligence in mathematics is not a new form of research, but more modern and technologically improved with the respect to the previously used tools. In this paper, we compared the success of using AI in solving equations x2 − dy2 = 1 and x2 − dy2 = −1. The analysis clearly indicates that both tools still show a high degree of vagueness, a poor strategy and a uniform approach in the selection of methods for solving equations. Since ChatGPT and Gemini are one of the most available artificial intelligence tools a comparison of the solutions provided by these tools is conducted. In addition to the given artificial intelligence solutions, we also present classical mathematical solutions. The number of correct, incorrect and undetermined answers is used as a measurement for the success these tools in solving the mentioned equations.</p></abstract>
<kwd-group kwd-group-type="author"><kwd>Pell’s equation</kwd><kwd>equations of Pell’s type</kwd><kwd>generative AI</kwd><kwd>ChatGPT</kwd><kwd>Gemini</kwd></kwd-group>
</article-meta></front>
<body>
<sec id="sec-1"><label>1</label><title>Introduction</title>
<p>An algebraic equation of the form</p>
<p>x2 − Dy2 = C (1)</p>
<p>with two variables x and y, where D is a natural number and C is an integer, is called a Pell’s type equation. For C = 1, we get an algebraic equation (Diophantine equation) of the form</p>
<p>x2 − Dy2 = 1, (2)</p>
<p>which is called Pell’s equation.</p>
<p>When D = m2, where m is a natural number, i.e. when D is a perfect square, Pell’s equation (1) has the form</p>
<p>x2 − (my)2 = (x − my)(x + my) = 1, (3)</p>
<p>from which it follows</p>
<p>x − my = x + my = ±1. (4)</p>
<p>Based on equality (4) we obtain trivial solutions of the given equation, i.e. (x, y) = (±1, 0). Therefore, due to the triviality of the solution, the case of D as a perfect square will not be considered. In this paper, we exclusively consider the cases when D is not a perfect square <xref ref-type="bibr" rid="ref-2">[2]</xref>, <xref ref-type="bibr" rid="ref-3">[3]</xref>, <xref ref-type="bibr" rid="ref-4">[4]</xref> and <xref ref-type="bibr" rid="ref-7">[7]</xref>.</p>
<p>The study of this form of algebraic equations has a long and rich mathematical history. This type of equation was among the first to be dealt with by Archimedes (287 BC - 212 BC), studying the livestock problem and setting it up gives the form of the equation. Besides him, Diophantus (200 BC - 284 BC) also dealt with this problem <xref ref-type="bibr" rid="ref-2">[2]</xref>.</p>
<p>Indian mathematicians Brahmagupta <xref ref-type="bibr" rid="ref-2">[2]</xref> in the sixth century, and Jayadeva and Bhaskara II in the 11th century, gave a special contribution to the methodical study of Pell’s type algebraic equations. Brahmagupta gave a method for finding infinitely many solutions of a Pell’s type equation based on one known particular solution, while Jayadeva and Bhaskara II gave an algorithm for finding the first solution. Although the algebraic equation (2) was named after the English mathematician John Pell (1611-1685), its study and development cannot be directly linked to Pell. The name is thought to have originated from a misattribution of credit to Pell by Leonhard Euler (1707-1783). In the 17th and 18th centuries, Pierre de Fermat (1601-1665), Leonhard Euler and Joseph Louis Lagrange (1736-1813) stand out for finding methods for solving these equations, with Lagrange being the first to provide a rigorous proof of the proposed method. In this paper, we will focus on the analysis and method of solving Pell’s equation (2) and Pell’s type equation</p>
<p>x2 − Dy2 = −1 (5)</p>
<p>using the continued fraction method.</p>
</sec>
<sec id="sec-2"><label>2</label><title>Mathematical Background and the Continued Fraction</title>
<p>Method for Solving Pell’S Equations.</p>
<p>In this chapter, we will provide an overview of the basic mathematical theory of continued fractions and a description of the continued fraction method for solving Pell’s equation (2) and Pell’s type equation (5).</p>
<sec id="sec-3"><label>2.1</label><title>Continued Fraction</title>
<p>Let α be a real number and let a0 be defined by a0 := ⌊α⌋. If a0 ̸= α let α = a0 + α 11 , then let a1 = ⌊α1⌋, for α1 &gt; 1. For α1 ̸= a1, then α1 = a1 + α 12 , where α2 &gt; 1 and further a2 = ⌊α2⌋. We can keep repeating this process until we get that αn = an, n ∈ N. When αn = an, n ∈ N then the relation (6) holds <xref ref-type="bibr" rid="ref-3">[3]</xref>, <xref ref-type="bibr" rid="ref-7">[7]</xref>.</p>
<p>[a0, a1, a2, ..., an] = a0 + , (6) a1 + a2 + .. 1</p>
<p>an−1 + an</p>
<p>The relation (6) represents a finite continued fraction written in a simpler form [a0, a1, a2, ..., an]. If α ̸= an for each n ∈ N the relation (6) becomes</p>
<p>[a0, a1, a2, . . . , an, . . .] = a0 + , (7) a1 + a2 + .. 1</p>
<p>an−1 + an +</p>
<p>Expension into a simple continued fraction is finite in the case when α is a rational number, and its expansion into a continued fraction can also be obtained using the Euclidean algorithm, where a0, a1, a2, . . . represent the quotients from the Euclidean algorithm applied to the numerator and denominator of a given rational number. Every rational number pk = [a0, a1, a2, . . . , ak] (8) qk for k ≤ n is called the k-th convergent of [a0, a1, a2, . . . , an]. The numerator pk and the denominator qk, the k convergent expansion into a continued fraction of [a0, a1, a2, . . . , an] satisfy the following recursive relations pk = akpk−1 + pk−2, p0 = a0, p1 = a0a1 + 1, (9) qk = akqk−1 + qk−2, q0 = 1, q1 = a1. (10) for k ∈ {2, 3, 4, . . . , n}. In the case when α is an irrational number, the expansion into a continued fraction is infinite, i.e. [a0, a1, a2, . . . , an, . . .], and the values a0, a1, a2, . . . , an in the relations (6) and (7) are called partial quotients. In this paper, we will specifically consider the case of periodic infinite continued fractions. A continued fraction [a0, a1, a2, . . . , an, . . .] is periodic if there are l ∈ N and m ∈ N such that ak = ak+l, for each k ≥ m. Then we label l as the length of the period of the continued fraction with notation α = [a0, a1, a2, . . . , am−1, am, am+1, . . . , am+l−1], (11) where am, am+1, . . . , am+l−1 means that the numbers am, am+1, . . ., am+l−1 are the one that are repeating. For m = 0, we will get a purely periodic continued fraction, i.e. [a0, a1, a2, . . . , al−1], <xref ref-type="bibr" rid="ref-3">[3]</xref>, <xref ref-type="bibr" rid="ref-7">[7]</xref>.</p>
<p>By quadratic irrationality we mean every irrational number α of the form a + b√d, where a, b ∈ Q and d ∈ N, d = ̸ □ that satisfies the given quadratic equation with rational coefficients. If α is a quadratic irrationality then the expansion into a continued fraction is periodic and vice versa. The proof of this statement was given by Euler and Lagrange <xref ref-type="bibr" rid="ref-7">[7]</xref>.</p>
<p>For a given quadratic irrationality α = s0+ t0√d , where s0, t0 ∈ Z, t0 ̸= 0, t0|(d − s2 0), d ∈ N and d ∈ N. For i &gt; 0, the partial quotients are obtained as follows:</p>
<p>d − s2 i+1 si+1 + √d ai = ⌊αi⌋, si+1 = aiti − si ti+1 = αi+1 = (12) ti ti+1 We will use this algorithm in expanding into a continued fraction while solving Pell’s equation (2) and Pell’s type equation (5).</p>
</sec>
<sec id="sec-4"><label>2.2</label><title>The Continued Fraction Method for Solving Pell’S Equations</title>
<p>There are a number of different methods for solving Pell and Pell’s type equations: continued fraction method, recursive method, Euler method, unimodular plane transformation method. One of the methods is the continued fraction method, which we will consider in this paper mathematically and through the application of artificial intelligence. The first step in solving algebraic equations of the form (2) and (5) is to find the expansion of the number or expression into a simple continued fraction as it is described in the previous section. Due to the symmetry of Pell’s equation, it is sufficient to observe the solutions only in the set of natural numbers, i.e. if the ordered pair (x, y), x, y ∈ N is a solution of the equation (2), then its solutions are also (x, −y), (−x, y) and (−x, −y). It is obvious that one solution is (1, 0) and due to its triviality we will not consider it. By the fundamental solution (x1, y1) we mean a non-trivial solution where x1 and y1 are the smallest natural numbers such that the equation (2) is satisfied, and we write it as follows</p>
<p>x1 + y1√D. (13)</p>
<p>Based on the fundamental solution (13) of the equation (2) we determine all other solutions in the set of natural numbers using the relation</p>
<p>xn + yn√D = (x1 + y1√D)n ∈ N.</p>
<p>As n ∈ N it is obvious that the equation (2) has infinitely many solutions. The given relation is stated as Theorem 10.11 in <xref ref-type="bibr" rid="ref-3">[3]</xref>, where its proof can be found. Based on Theorem 10.12 in <xref ref-type="bibr" rid="ref-3">[3]</xref> the value of the trivial solution becomes obvious when finding all natural solutions of Pell’s equation (2) using relations</p>
<p>xn+2 = 2x1xn+1 − xn, (14) yn+2 = 2x1yn+1 − yn, n ≥ 0. (15)</p>
<p>and using the fundamental solution. In this way, a series of solutions is obtained in ascending order <xref ref-type="bibr" rid="ref-3">[3]</xref>, <xref ref-type="bibr" rid="ref-7">[7]</xref>.</p>
<p>It is obvious that the role of the fundamental solution in finding all solutions is significant. The key moment in solving Pell’s equation (2) is to find the fundamental solution. The question arises how to determine the fundamental solution. One of the most effective ways is to establish a connection between the solution of Pell’s equation (2) and the Diophantine approximation of the number or expression √D, where D is not a perfect square.</p>
<p>The solutions of Pell’s and the Pell’s type equation depend on the length of the period l of the expansion of the number or expression √D into a continued fraction (Theorem 10.20 in <xref ref-type="bibr" rid="ref-3">[3]</xref>). Each Pell’s equation (2) is also given with a relation</p>
<p>(x, y) = (pnl−1, qnl−1), n ∈ N, (16)</p>
<p>if the length of the period l is an even number where the fundamental solution is (pl−1, ql−1) i.e. or with the relation</p>
<p>(x, y) = (p2nl−1, q2nl−1), n ∈ N, (17)</p>
<p>if the length of the period l is an odd number, where fundamental solution of the equation (2) (p2l−1, q2l−1). Unlike Pell’s equation, each Pell’s type equation does not always have a solution. In the case when the length of the period l is an even number, the Pell equation (5) will not have a solution, and in the case when the length of the period l is an odd number, the solutions are given by</p>
<p>(x, y) = (p(2n−1)l−1, q(2n−1)l−1). (18)</p>
<p>Especially the Pell’s type equation (5) will not have a solution in the case where D ≡ 3 mod 4, in <xref ref-type="bibr" rid="ref-3">[3]</xref>, <xref ref-type="bibr" rid="ref-7">[7]</xref>.</p>
</sec>
</sec>
<sec id="sec-5"><label>3</label><title>Discussion and Analysis of the Results</title>
<p>In this paper, we investigated how AI, specifically using ChatGPT and Gemini, solves and investigates polynomial Pell equations. For this research, we chose seven carefully selected polynomial expressions for D, which we used to form the Pell equations. The selection was not random but carefully and precisely chosen. The examples were chosen based on the working principles of generative AI. To investigate the operation of methods and modes of operation, we have chosen the following polynomial Pell equations.</p>
<p>x2 − ((89t − 44)2 + 110t − 54)y2 = 1, (19) x2 − ((70t + 1)2 + 58t + 1)y2 = 1, (20) x2 − ((169t + 1)2 + 140t + 1)y2 = 1, (21) x2 − ((29t + 1)2 + 58t + 1)y2 = 1, (22) x2 − (a2 − 4)y2 = 1, a &gt; 3, a odd, (23) x2 − (a2 + 4)y2 = 1, a &gt; 1, a odd, (24) x2 − ((na)2 − a)y2 = 1, n ∈ N, a &gt; 1. (25)</p>
<p>The basic Pell’s equation using the method previously described in section 2 immediately offers a solution to equation (4) whose analysis and method of solution are also given in the discussion of this paper for selected problems.</p>
<p>Solving equations of the form x2 − Dy2 = ±1 is formally carried out entirely algorithmically. Solving the mentioned equations is carried out in several clearly defined and determined steps, which we described in the previous section. Below, we provide an overview of the mathematical solution, and AI tested on ChatGPT and Gemini. The first step of solving x2 − Dy2 = ±1 is the determination of the development into a simple continued fraction of the number √D. In <xref ref-type="table" rid="tab1">Table 1</xref>, we provide an overview of the mathematical solutions <xref ref-type="bibr" rid="ref-7">[7]</xref> and ChatGPT.</p>
<table-wrap id="tab1"><label>Table 1</label><caption><p>Review the math solution and the solution given by ChatGPT for developing √D into a simple continued fraction.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:4:61,326.4,571.6,445.9"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>ChatGPT as a generative AI tool that works on NLP algorithms for example (19) gave the correct development into a simple continued fraction, but only for p t = 1, without performing the general form of the development of expression (8t − 24)2 + 110t − 54 into a simple continued fraction. In example (23) he did not perform the correct form, while in the other cases he provided the requested solutions. We performed the same analysis using the AI Gemini tool and obtained the results, which are presented in the following table.</p>
<table-wrap id="tab2"><label>Table 2</label><caption><p>Review the math solution and the solution given by Gemini for developing √D into a simple continued fraction.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:4:61,104,552,223.5"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>Based on the given mathematical solutions and solutions obtained with AI tools, the length of the development period was determined as a simple continued fraction. An overview of the results is given in the <xref ref-type="table" rid="tab3">Table 3</xref>. In the development into a simple continued fraction, the development period allows us to calculate the convergences and determine the fundamental solution of the equation x2 − Dy2 = ±1. For example 1, ChatGPT provided only the development for t = 1 and therefore only enabled the solution of equation x2 − 312y2 = ±1, but not the general solution of the required equation. In determining the period, Gemini did not determine the period in examples 1 and 6 at all, while for examples 2 and 3 it gives the development and period only for specific t, which again does not enable the general solution of the required equations. The analysis of the success of determining the development into chain fractions of ChatGPt and Gemini is given in the following table.</p>
<table-wrap id="tab3"><label>Table 3</label><caption><p>Overview of obtained periods l in the development of the continued fraction in the mathematical, ChatGPT and Gemini solution</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:5:61,582.8,552,699.5"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<table-wrap id="tab4"><label>Table 4</label><caption><p>Success in solving the expansion of the number √D into a simple continued fraction</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:5:61,410.2,552,460.1"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>If we observe the success of determining the expansion of the number √D into a simple continued fraction by artificial intelligence, we will see that ChatGPT had a success rate of 72%, while the success rate of Gemini is 29%. ChatGPT and Gemini had the same failure rate (incorrect solutions) of 14%. Artificial intelligences’ tools show the greatest divergence in cases when they fail to determine any concrete solution. ChatGPT had 14% of such cases and Gemini 57%.</p>
<p>The second step in solving the Pell’s equation and Pell’s type equations is determining the fundamental solutions. We determine the fundamental solution of the corresponding Pell’s equation based on given claims and theoretical foundations that we gave in section 2. In the following Table we give an overview of the fundamental solutions obtained by classical calculation, i.e. solving equations by mathematicians.</p>
<table-wrap id="tab5"><label>Table 5</label><caption><p>The fundamental solution of the Pell’s equations solved by mathematician.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:5:61,148.2,552,261.3"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>In the following tables, we will present the solution of selected problems by artificial intelligence. In <xref ref-type="table" rid="tab6">Table 6</xref>. we present the solutions obtained using the ChatGPT tool.</p>
<p>We can see that in three cases the artificial intelligence tool ChatGPT gave only a trivial solution (x0, y0) = (1, 0), while in three cases it gives solutions, and in one case it did not offer a concrete solution to the problem at all. The table 7 shows the results of selected problems given by artificial intelligence tool Gemini.</p>
<table-wrap id="tab6"><label>Table 6</label><caption><p>The fundamental solution of the Pell’s equations solved by ChatGPT.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:6:61,595.8,552,711.5"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<table-wrap id="tab7"><label>Table 7</label><caption><p>The fundamental solution of the Pell’s equations solved by Gemini</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:6:61,458.5,552,572.5"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>It is obvious that Gemini could not detect any specific solution in three cases, while it offers its own solutions for four problems. Based on obtained results, we can conclude that ChatGPT gave 29% correct solutions excluding trivial solutions, 14% incorrect and that in 14% cases it failed to determine any solutions. Gemini as an artificial intelligence tool gives 57% correct, no incorrect answers, and 43% indeterminate solutions.</p>
<table-wrap id="tab8"><label>Table 8</label><caption><p>The fundamental solution of the Pell’s equations solved by mathematician, ChatGPT and Gemini.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:6:61,247,581.8,360"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>Mathematicians use convergent calculations in order to obtain the fundamental solution. We noticed that most mathematicians calculate convergents algorithmically, but not ChatGPT. Instead of using the method of calculating convergents, ChatGPT uses the method for solving Diophantine equations based on the divisibility of numbers. Although the algorithm immediately offers a solution to Pell’s equation (5), artificial intelligence tools do not immediately offer a solution to this equation. Even when it is known (based on properties of the equation) that the equation has no solution, these tools will not provide information that there is no solution. A comparative analysis of fundamental solutions Pell’s problem (5) obtained by mathematicians, ChatGPt and Gemini is presented in <xref ref-type="table" rid="tab8">Table 8</xref>.</p>
</sec>
<sec id="sec-6"><label>4</label><title>Conclusion</title>
<p>Every artificial intelligence tool can be suitable for the user who is experienced in recognizing illogicalities and solutions’ inconsistencies and answers to the problems or questions that arise <xref ref-type="bibr" rid="ref-8">[8]</xref>. There are many different aspects from which can be approached in studing the comparison of ChatGPT and Gemini and their working styles. The authors are based on different approaches to generative artificial intelligence in education, but one of the interesting overviews of advantages and disadvantages is provided in Orange’s paper <xref ref-type="bibr" rid="ref-6">[6]</xref>.</p>
<p>Our research shows that ChatGPT and Gemini have limited abilities to solve Pell’s equation as well as Pell’s type equation x2 − dy2 = −1. In addition to the limitations, we also point out the lack precision and reliability in the offered solutions. Therefore, the user should carefully and critically approach his conclusions because they are not always correct. In other words, ChatGPT and Gemini chose the same strategy in solving Pell’s equation as well in solving Pell’s type equation. The chosen method was based on the divisibility of numbers. According by chosed strategy, it is clearly shown that artificial intelligence tools have a uniform, but also uncritical approach to problem solving. Here it is particularly interesting to point out that these artificial intelligence tools solved the given problems by reducing to the mere application of algorithms and procedures, thus the results obtained are even more interesting. Beside mentioned disadventages, one of the important advantages is an accurate overview of the theoretical basis that is provided for each problem. But it becomes disadvantage when it comes to the implementation. Implemented method is not consistent with the described overview.</p>
<p>According to some authors, ChatGPT gives better results in creative solutions and parts of problems, while they point out that Gemini gives better results in scientific and technical applications, <xref ref-type="bibr" rid="ref-1">[1]</xref> and <xref ref-type="bibr" rid="ref-5">[5]</xref>. Based on the results obtained in this research, it can not be concluded that there is a significant difference between the use of artificial intelligence tools in solving Pell’e eqaution x2 − Dy2 = 1 and Pell’s type equation x2 − Dy2 = −1.</p>
</sec>
<sec id="sec-7"><title>Author Contribution</title>
<p>All authors have read and agreed to the published version of the manuscript.</p>
</sec>
</body>
<back><ref-list><title>References</title>
<ref id="ref-1"><label>1</label><mixed-citation>AlSagri, H. S., Farhat, F., Sohail, S. S., &amp; Saudagar, A. K. J. (2025). ChatGPT or Gemini: Who makes the better scientific writing assistant? Journal of academic ethics, 23(3), 1121-1135. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s10805-024-09549-0">https://doi.org/10.1007/s10805-024-09549-0</ext-link></mixed-citation></ref>
<ref id="ref-2"><label>2</label><mixed-citation>Barbeau, E. J. (2003). The cubic analogue of Pell’s equation. In Pell’s equation (pp. 92-112). New York, NY: Springer New York. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/0-387-22602-8">https://doi.org/10.1007/0-387-22602-8</ext-link> _7</mixed-citation></ref>
<ref id="ref-3"><label>3</label><mixed-citation>Dujella, A. (2021). Number theory. Zagreb: Školska Knjiga. <ext-link ext-link-type="uri" xlink:href="https://web.math.pmf.unizg.hr/~duje/numbertheorybook.html">https://web.math.pmf.unizg.hr/~duje/numbertheorybook.html</ext-link></mixed-citation></ref>
<ref id="ref-4"><label>4</label><mixed-citation>Mandić, I., &amp; Soldo, I. (2008). Pell&apos;s equation. Osječki matematički list, 8(1), 29-36. <ext-link ext-link-type="uri" xlink:href="https://hrcak.srce.hr/file/45108">https://hrcak.srce.hr/file/45108</ext-link></mixed-citation></ref>
<ref id="ref-5"><label>5</label><mixed-citation>Rane, N., Choudhary, S., &amp; Rane, J. (2024). Gemini versus ChatGPT: Applications, performance, architecture, capabilities, and implementation. Journal of applied artificial intelligence, 5(1), 69-93. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48185/jaai.v5i1.1052">https://doi.org/10.48185/jaai.v5i1.1052</ext-link></mixed-citation></ref>
<ref id="ref-6"><label>6</label><mixed-citation>Oranga, J. (2023). Benefits of artificial intelligence (ChatGPT) in education and learning: Is Chat GPT helpful. International review of practical innovation, technology and green energy (IRPITAGE), 3(3), 46-50. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.54443/irpitage.v3i3.1250">https://doi.org/10.54443/irpitage.v3i3.1250</ext-link></mixed-citation></ref>
<ref id="ref-7"><label>7</label><mixed-citation>Sierpinski, W. (2003). Pythagorean triangles. Courier Corporation. <ext-link ext-link-type="uri" xlink:href="https://www.amazon.com/s?k=9780486432786&amp;i=strip-books&amp;linkCode=qs">https://www.amazon.com/s?k=9780486432786&amp;i=strip-books&amp;linkCode=qs</ext-link></mixed-citation></ref>
<ref id="ref-8"><label>8</label><mixed-citation>Stanković, T., &amp; Liđan, E. (2024). Reasoning of generative artificial intelligence in solving mathematical logical problems. Jour-nal of educational studies in mathematics and computer science, 1(2), 27-36. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5937/jesmac2402027s">https://doi.org/10.5937/jesmac2402027s</ext-link></mixed-citation></ref>
</ref-list></back>
</article>