Replication package: Exact computation of fundamental solutions of the Pell equation for all non-square 2 <= D <= 10^5: a comparison of continued fractions and the chakravala method
Annotatsiya
Replication package for the article "Exact computation of fundamental solutions of the Pell equation for all non-square 2 <= D <= 10^5: a comparison of continued fractions and the chakravala method" (Botirova X.D., Masharipova S.M., Onn C.W., Kurniawan T.A.). It contains independent Python and C++17/GMP implementations of the continued-fraction and chakravala methods, the full results file for all 99,684 non-square D <= 100000 (period length, numbers of steps, digits and values of x1 and y1), summaries with an FNV-1a checksum (both implementations give identical results), raw timing data from two measurement sessions, analysis scripts that regenerate all statistics, tables and figures of the paper, and the check for generalized equations x^2 - D y^2 = N (Supplementary Material S1). See README.md for contents, environment and reproduction steps. Version 2 (second revision of the manuscript) adds verify_results.py (independent verification of all 99,684 fundamental solutions, using neither algorithm), check_convergents.py (chakravala pairs versus regular convergents, tie-rule test), heteroscedasticity-robust and bootstrap regression statistics in analysis.py, and an extended README. The results files are identical to version 1.
Hali tarjima qilinmagan