Adaptive algorithm for preventing errors in mathematical reasoning in artificial intelligence systems. (2025). Mathematical Machines and Systems, 1, 42-54. https://doi.org/10.34121/1028-9763-2025-1-42-54