Navigation
Topics Register • News • History • How to • Sequences statistics • Template prototypes

Mersenne number

提供: Prime-Wiki
移動先: 案内検索

A Mersenne number is a number of the form 2n1 where n is a non-negative integer.

When this number is prime, it is called a Mersenne prime, otherwise it is a composite number.

The number of digits of a Mersenne number 2n1 can be calculated by nlog(2)+1 (see floor function).

Properties of Mersenne numbers

Mersenne numbers share several properties:

  • Mn is a sum of binomial coefficients: Mn=i=0n(ni)1.
  • If a is a divisor of Mq (q prime) then a has the following properties: a1(mod2q) and: a±1(mod8).
  • A theorem from Euler about numbers of the form 1+6k shows that Mq (q prime) is a prime if and only if there exists only one pair (x,y) such that: Mq=(2x)2+3(3y)2 with q5. More recently, Bas Jansen has studied Mq=x2+dy2 for d=0 ... 48 and has provided a new (and clearer) proof for case d=3.
  • Let q=3(mod4) be a prime. 2q+1 is also a prime if and only if 2q+1 divides Mq.
  • Reix has recently found that prime and composite Mersenne numbers Mq (q prime > 3) can be written as: Mq=(8x)2(3qy)2=(1+Sq)2(Dq)2. Obviously, if there exists only one pair (x,y), then Mq is prime.
  • Ramanujan has showed that the equation: Mq=6+x2 has only 3 solutions with q prime: 3, 5, and 7 (and 2 solutions with q composite).
  • Any mersenne number is a binary repunit (in base 2, they consist of only ones).
  • If the exponent n is composite, the Mersenne number must be composite as well.

External links

Number classes
General numbers
Special numbers
Prime numbers