In
recreational mathematics, a 'repunit' is a
number like 11, 111, or 1111 that contains only the digit 1. The term stands for 'rep'eated 'unit' and was coined in 1966 by
A.H. Beiler. A 'repunit prime' is a repunit that is also a
prime number.
Definition
The repunits are defined mathematically as
:
Thus, the number ''R''
''n'' consists of ''n'' copies of the digit 1. The sequence of repunits starts
1,
11,
111, 1111,... (sequence in
OEIS).
Repunit primes
Historically, the definition of repunits was motivated by recreational mathematicians looking for
prime factors of such numbers.
It is easy to show that if ''n'' is divisible by ''a'', then ''R''
''n'' is divisible by ''R''
''a'':
:
where
is the
cyclotomic polynomial and ''d'' ranges over the divisors of ''n''. For ''p'' prime,
, which has the expected form of a repunit when ''x'' is subsituted for with 10.
For example, 9 is divisible by 3, and indeed ''R''
9 is divisible by ''R''
3—in fact, 111111111 = 111 · 1001001. The corresponding cyclotomic polynomals
and
are
and
respectively. Thus, for ''R''
''n'' to be prime ''n'' must necessarily be prime.
But it is not sufficient for ''n'' to be prime; for example, ''R''
3 = 111 = 3 · 37 is not prime. Except for this case of ''R''
3, ''p'' can only divide ''R''
''n'' if ''p = 2kn + 1'' for some ''k''.
''R''
''n'' is prime for ''n'' = 2, 19, 23, 317, 1031,... (sequence in
OEIS). ''R''
49081 and ''R''
86453 are
probably prime. On
April 3 2007 Harvey Dubner (who also found ''R''
49081) announced that ''R''
109297 is a probable prime.
[1] He later announced there are no others from ''R''
86453 to ''R''
200000.
[2] On
July 15 2007 Maksym Voznyy announced ''R''
270343 to be probably prime
[3], along with his intent to search to 400000.
It has been conjectured that there are infinitely many repunit primes,
[1] and they seem to occur roughly as often as the
prime number theorem would predict: the exponent of the ''N''th repunit prime is generally around a fixed multiple of the exponent of the (''N''-1)th.
The prime repunits are a trivial subset of the
permutable primes, i.e., primes that remain prime after any
permutation of their digits.
Generalizations
Professional mathematicians used to consider repunits an arbitrary concept, since they depend on the use of
decimal numerals. But the arbitrariness can be removed by generalizing the idea to 'base-''b'' repunits':
:
In fact, the base-2 repunits are the well-respected
Mersenne numbers ''M''
''n'' = 2
''n'' − 1. The
Cunningham project endeavours to document the integer factorizations of (among other numbers) the repunits to base 2, 3, 5, 6, 7, 10, 11, and 12.
Example 1) the first few base-3 repunit primes are 13, 1093, 797161, 3754733257489862401973357979128773, 6957596529882152968992225251835887181478451547013 (sequence in
OEIS), corresponding to
of 3, 7, 13, 71, 103 (sequence in
OEIS).
Example 2) the only base-4 repunit prime is 5 (
), because
, and 3 divides one of these, leaving the other as a factor of the repunit.
It is easy to
prove that given ''n'', such that ''n'' is not exactly divisible by 2 or ''p'', there exists a repunit in base 2''p'' that is a multiple of ''n''.
See also
★
Repdigit
★
Recurring decimal
★
All one polynomial - Another generalization
References
1. Harvey Dubner, ''New Repunit R(109297)''
2. Harvey Dubner, ''Repunit search limit''
3. Maksym Voznyy, ''New PRP Repunit R(270343)''
External links
Web sites
★
★
The main tables of the
Cunningham project.
★
Repunit at
The Prime Pages by
Chris Caldwell.
★
Repunits and their prime factors at
World!Of Numbers.
Books
★ S. Yates, ''Repunits and repetends''. ISBN 0-9608652-0-9.
★ A. Beiler, ''Recreations in the theory of numbers''. ISBN 0-486-21096-0. Chapter 11, of course.
★
Paulo Ribenboim, ''The New Book Of Prime Number Records''. ISBN 0-387-94457-5.