A Comparative Study of Continued Fraction and AI Methods for Polynomial Pell Equations

Authors

DOI:

https://doi.org/10.22105/kmisj.v2i3.94

Keywords:

Pell’s equation, equations of Pell’s type, generative AI, ChatGPT, Gemini

Abstract

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.

References

AlSagri, H. S., Farhat, F., Sohail, S. S., & Saudagar, A. K. J. (2025). ChatGPT or Gemini: Who makes the better scientific

writing assistant? Journal of academic ethics, 23(3), 1121-1135. https://doi.org/10.1007/s10805-024-09549-0

Barbeau, E. J. (2003). The cubic analogue of Pell’s equation. In Pell’s equation (pp. 92-112). New York, NY: Springer New

York. https://doi.org/10.1007/0-387-22602-8

Dujella, A. (2021). Number theory. Zagreb: Školska Knjiga. https://web.math.pmf.unizg.hr/~duje/numbertheorybook.html

Mandić, I., & Soldo, I. (2008). Pell's equation. Osječki matematički list, 8(1), 29-36. https://hrcak.srce.hr/file/45108

Rane, N., Choudhary, S., & Rane, J. (2024). Gemini versus ChatGPT: Applications, performance, architecture, capabilities,

and implementation. Journal of applied artificial intelligence, 5(1), 69-93. https://doi.org/10.48185/jaai.v5i1.1052

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. https://doi.org/10.54443/irpitage.v3i3.1250 [7] Sierpinski, W. (2003). Pythagorean triangles. Courier Corporation. https://www.amazon.com/s?k=9780486432786&i=strip-

books&linkCode=qs

Stanković, T., & 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. https://doi.org/10.5937/jesmac2402027s

Published

2025-09-14

How to Cite

Liđan, E., & Tatjana, S. (2025). A Comparative Study of Continued Fraction and AI Methods for Polynomial Pell Equations. Karshi Multidisciplinary International Scientific Journal, 2(3), 169-176. https://doi.org/10.22105/kmisj.v2i3.94

Similar Articles

11-20 of 23

You may also start an advanced similarity search for this article.