Representation of an Integer by a Quadratic Form through the Cornacchia Algorithm
- 1 Training and Research Unit/Sciences and Technology, University of Ouahigouya, Mèra, Burkina Faso
Abstract
Cornachia’s algorithm can be adapted to the case of the equation x 2 + d y 2 = n and even to the case of a x 2 + b x y + c y 2 = n . For the sake of completeness, we have given modalities without proofs (the proof in the case of the equation x 2 + y 2 = n ). Starting from a quadratic form with two variables f ( x , y ) = a x 2 + b x y + c y 2 and n an integer. We have shown that a primitive positive solution ( u , v ) of the equation f ( x , y ) = n is admissible if it is obtained in the following way: we take α modulo n such that f ( α , 1 ) ≡ 0 mod n , u is the first of the remainders of Euclid’s algorithm associated with n and α that is less than 4 c n / | D | ) (possibly α itself) and the equation f ( x , y ) = n . has an integer solution u in y . At the end of our work, it also appears that the Cornacchia algorithm is good for the form n = a x 2 + b x y + c y 2 if all the primitive positive integer solutions of the equation f ( x , y ) = n are admissible, i.e. computable by the algorithmic process.
- Serre, J.P. (1973) A Course in Arithmetc, Collection: Graduate Texts in Mathematics. Springer, 115.
- Serre, J.P. (1970) Cours d’Arithmétique. P.U.F., 123.
- Crandall, R. and Pomerance, C. (2005) Prime Numbers: A Computation Al Perspective. Spinger, 97.
- Morain, F. (2007) Implementing the Asymptotically Fast Version of the Elliptic Curve Primality Proving Algorithm. Mathematics of Computation , 76, 493-505. https://doi.org/10.1090/S0025-5718-06-01890-4
- Blachut, R.E. (2014) Cryptography and sécure communication. Cambridge University Press, 602.
- Cohen, H. (1993) A Course in Computational Algebraic Number Teory. Springer, 234. https://doi.org/10.1007/978-3-662-02945-9
- Cox, D.A. (1989) Primes of the Form , Fermat, Class Field Theory and Complex Multiplication. Wiley, 432.
- Hardy, K., Muskat, J.B. and Williams, K.S. (1990) Solving Using the Euclidan Algorithm. Utilitas Mathematica , 38, 225-236.
- Hardy, G.H. and Wright, E.M. (1969) An Introduction to the Theory of Numbers。 5th Edition, Oxford Science Publications, 567。
- Wagon, S. (1990) Editor’s Corner: The Euclidean Algorithm Strikes again. The American Mathematical Monthly , 97, 125-129. https://doi.org/10.1080/00029890.1990.11995559
- Samuel, P. (1970) Théorie algébrique des nombres. Hermann, 282.
- Cornacchia, G. (1908) Su di un metodo per la risoluzione in numeri interi dell’equazione . Giornale di Matematiche di Battaglini , 46, 33-90.
- Séroul, R. (1995) Math-info, Informatique pour mathématiciens. InterEditions, 321.
- Smith, H.J.S. (1855) De compositione numerorum primorum formae 4 λ + 1 ex duobus qudratis. Journal für die reine und angewandte Mathematik , 1855, 91-92. https://doi.org/10.1515/crll.1855.50.91
- Cohen, H. (1993) A Course in Computational Algebraic Number Theory. Spinger, 536. https://doi.org/10.1007/978-3-662-02945-9