Primality Testing Methods Involve Arithmetic in Algebraic Number Theory

Primality Testing Methods Involve Arithmetic in Algebraic Number Theory

Volume-03 ISSN: 2455-3085 (Online) Issue-12 RESEARCH REVIEW International Journal of Multidisciplinary December -2018 www.rrjournals.com [UGC Listed Journal] Primality testing methods involve arithmetic in algebraic number theory Rupen Chatterjee Department of Mathematics, Nabagram Hiralal Paul College, Nabagram, Hooghly, West Bengal Pin:71224, India (Affiliated by Calcutta University) ARTICLE DETAILS ABSTRACT Article History Primality testing methods is an algorithm for determining whether an input number is prime. Published Online: 10 December 2018 Among other fields of mathematics, it is used for cryptography. Unlike integer factorization, primality tests do not generally give prime factors, only stating whether the input number is Keywords prime or not. Algebra is one of the broad parts of mathematics, together with number theory, Primality Testing, algebraic, theory. geometry and analysis.As such, it includes everything from elementary equation solving to the study of abstractions such as groups, rings, and fields. The word algebra is also used in certain specialized ways. A special kind of mathematical object in abstract algebra is called an "algebra", and the word is used, for example, in the phrases linear algebra and algebraic topology. In this paper, we discuss primality testing methods involve arithmetic which are best understood in the context of algebraic number theory. 1. Introduction q = 2 y + (2 n+l - 1) * g where 0<x<n r= 2n-y* g *q-1 We know that a prime number is a natural number p ≠ 1 n-x for which the only divisors are 1 and p. This essentially means g=2 + 1 S =2n-y+x * g2 * q – 1 0<y<n that for a prime number p, gcd(a, p)=1 ∀a ∈ N and 1 ≤ a ≤ n n (p−1). So the value of Euler’s totient function for a prime p, are all primes, then the pair(m, n) = (2 qpr, 2 qs) φ(p) equals (p − 1) as all the (p − 1) values of a in (1,2,...p − 1) is an amicable pair. Thus, searching for amicable numbers satisfy gcd(a, p)=1. A primality test, the topic of this paper, is is often the same as the primalitytesting of some related simply an algorithm that tests, either probabilistically or integers. deterministically, whether or not a given input number is prime. A general primality test does not provide us with a prime Primality testing is one of the oldest problems as well as factorisation of a number not found to be prime, but simply open problems in mathematics, which goes back to the ancient labels it as composite. In cryptography, for example, we often Greeks about 2000 years ago. The problem can be simply need the generation of large primes and one technique for this described as follows: is to pick a random number of requisite size and detrmine if it’s prime. The larger the number, the greater will be the time Input: n (n ∈ Natural Numbers and n > 1). required to test this and this is what prompts us to search for efficient primality tests that are polynomial in complexity. Note { Yes, if n ∈ Primes, that the desired complexity is logarithmic in the number itself { Output: No, if n ∈ Composites. and hence polynomial in its bit–size as a number n requires Unfortunately, it is not a simple matter to determine O(log n) bits for its binary representation. whether or not a random integer n is prime,particularly when n Primality testing of large numbers is very important in is very large. An efficient algorithm for primality testing from the k many areas of mathematics, computer science and complexitypoint of view would have to run in O(log n) steps, for cryptography. For example, in public-key cryptography, if we some fixed k. But unfortunately, no such deterministic can find two large primes p and q, each with 100 digits or algorithm exists for random integer n, although, for example, 5 more, then we can get a composite Miller [2] showed that n can be checked in O(log n) steps, n= p * q assuming the truth of the unproved Extended Riemann with 200 digits or more. This composite n can be used to Hypothesis (ERH). Recently, many of the modern primality encode a message securely even when n is made public. The testing algorithms have been incorporated in Computer message cannot be decoded without knowledge of the prime Algebra Systems (CAS) such as Axiom and Maple (see [3,4] factors of n. of course, we can try to use a modern integer for a reference) as a standard. In this paper, we shall discuss factorization method such as the Elliptic Curve Method to primality testing of large numbers in Maple. factor n and to get its prime factors p and q, but it would take For some forms of numbers, it is possible to find 'short- about 20 million years to complete the job even on a cuts' to a primality proof. This is the case for the Mersenne supercomputer. Thus, it is practically impossible to decode the numbers. In fact, due to their special structure, which allows for message. Another good example is the searching for amicable easier verification of primality, the six largest known prime numbers. In the following algebraic method for generating numbers are all Mersenne number. There has been a method amicable numbers,if we can make sure thatthe following four in use for some time to verify primality of Mersenne numbers, integers p, q, r, s known as the Lucas–Lehmer test. This test does not rely on elliptic curves. However we present a result where numbers of k p=2x * g-1 the form N = 2 n - 1 where k,n ∈ Z , K ≥2 , n odd can be RRIJM 2015, All Rights Reserved 1468 | P a g e Volume-03, Issue-12, December -2018 RESEARCH REVIEW International Journal of Multidisciplinary proven prime (or composite) using elliptic curves. Of course is the conditional probability that the individual n is rich given this will also provide a method for proving primality of that the test is negative l times. If the probability that an Mersenne numbers, which correspond to the case where n = 1. individual n is rich is known, then the above conditional There is a method in place for testing this form of number probability can be computed using Bayes’s rule. We will show without elliptic curves (with a limitation on the size of k) known how to do this later. A Monte Carlo algorithm does not give a as the Lucas–Lehmer–Riesel test. The following method is definite answer. However, if l is large enough (say l = 100), drawn from the paper Primality Test for 2k n - 1 using Elliptic then the conditional probability that the property of interest Curves. holds (here, n is rich), given that the test is negative l times, is very close to 1. In other words, if l is large enough and if the 2. Methods for primality testing test is negative ` times, then we have high confidence that n is The general strategy to test whether an integer n > 2 is rich. prime or composite is to choose some property, say A, implied by primality, and to search for a counterexample a to this There are two classes of primality testing algorithms: property for the number n, namely some a for which property A 1.Algorithms that try all possible countexamples, and for fails. We look for properties for which checking that a which the test does not lie. These algorithms give a candidate a is indeed a countexample can be done quickly. definite answer: n is prime or n is composite. Until Typically, together with the number n being tested for primality, 2002, no algorithms running in polynomial time, were some candidate counterexample a is supplied to an algorithm known. The situation changed in 2002 when a paper which runs a test to determine whether a is really a with the title “primes is in P,” by Agrawal, Kayal and counterexample to property A for n. If the test says that a is a Saxena, appeared on the website of the Indian counterexample, also called a witness, then we know for sure Institute of Technology at Kanpur, India. In this paper, that n is composite. If the algorithm reports that a is not a it was shown that testing for primality has a witness to the fact that n is composite, does this imply that n is deterministic (nonrandomized) algorithm that runs in not prime. polynomial time. This is because, there may be some composite number n 2. Randomized algorithms. To avoid having problems with and some candidate counterexample a for which the test says infinite events, we assume that we are testing that a is not a countexample. Such a number a is called a liar . numbers in some large finite interval L. Given any The other reason is that we haven’t tested all the candidate positive integer m ∈ L, some candidate witness a is counterexamples a for n. The remedy is to make sure that we chosen at random. We have a test which, given m pick a property A such that if n is composite, then at least and a potential witness a, determines whether or not some candidate a is not a liar, and to test all potential a is indeed a witness to the fact that m is composite. countexamples a. The difficulty is that trying all candidate Such an algorithm is a Monte Carlo algorithm, which countexamples can be too expensive to be practical. The means the following following analogy may be helpful to understand the nature of a) If the test is positive, then m ∈ L is composite.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us