Sn1b Primes
? Czeslaw Koscielny 2007
Academy of Management in Legnica, Poland,
Faculty of Computer Science,
Wroclaw University of Applied Informatics, Poland
e mail: c.koscielny@wsm.edu.pl
Abstract
The worksheet concerns particular primes numbers which can be written down by means of the sequences of ones using positional representation with an arbitrary base.
1. Introduction
Recall that Mersenne prime is the prime number of the form 2n-1, where n must itself be prime. A prime number is the natural number that has only two distinct natural number divisors: 1 and itself. But
(111...1)
i.e. Mersenne prime in binary notation is represented as sequence of ones, , where
since today only 44 Mersenne primes are known and it is unrecognized whether there are infinitely many of them.
2. Teodorczuk Primes
My friend, MSc in electronics, Andrzej Teodorczuk, observed that in decimal notation the number 11 is prime, but numbers 111, 1111, 11111 are not. He wanted to find the nearest "all ones" prime, thus, by means of Maple we easily computed that a decimal number in form of ones, {2, 19, 23, 317, 1031} is prime. I think that such primes deserves to be named Teodorczuk primes. It also can be easily verified that the next Teodorczuk prime, which probably exists, will be written down by means of more than 5000 digits.
3. A Definition of Prime
Let the sequence of symbols 0, 1, 2, ..., represent the successive units of the number written down in positional notation with base The prime is the prime number of the form
where is prime. In other words prime is the prime number represented in base positional notation by means of the sequence of ones ( stands for "sequence of '1's representing a number in positional notation base ") . Therefore, primes represent an ulimited class od prime numbers, containing both Mersenne and Teodorczuk primes.
4. Computing Primes Using Maple
To begin the exploration of primes we can use the routine
where the parameters b, nmin and nmx denote the base and the minimal and maximal values of the number of ones representing the prime, respectively. The procedure returns the set prime numbers, for which the number (1) , represented by means of ones, is prime. For example, the statement
computes the set sn1_3 allowing to determine first 9 primes for base 3. They are the following:
Next we compute several first primes for bases from 2 to 100:
It can be seen that there are not primes represented by less than 1000 'ones' for bases 9, 25, 32, 49, 51, 64, 81, 91. Therefore, let us search the longer primes for these bases:
The patient reader may try to invoke the procedure sn1b once again with grater values of actual parameters nmin and nmax.
Here are similar computations for bases from 1000 to 1100:
5. Conclusion
It has been shown how to begin the exploration of a new class of prime numbers, related to Mersenne primes. Considered problems may have some usefulness in the number theory and cryptography.
Reference
GIMPS Home Page: http://www.mersenne.org/
Legal Notice: The copyright for this application is owned by the author(s). Neither Maplesoft nor the author are responsible for any errors contained within and are not liable for any damages resulting from the use of this material. This application is intended for non-commercial, non-profit use only. Contact the author for permission if you wish to use this application in for-profit activities.