login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A117293 Mersenne primes written in binary. 6
11, 111, 11111, 1111111, 1111111111111, 11111111111111111, 1111111111111111111, 1111111111111111111111111111111, 1111111111111111111111111111111111111111111111111111111111111 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The number of bits in a(n) is equal to A000043(n). - Omar E. Pol, Feb 22 2008
LINKS
Wikipedia, Mersenne prime
EXAMPLE
Third mersenne prime is 31, i.e. 11111 in binary.
PROG
(PARI) apply(p->fromdigits(binary(p)), select(isprime, vector(20, n, 2^prime(n)-1))) \\ Charles R Greathouse IV, Sep 14 2016
CROSSREFS
Sequence in context: A083441 A261269 A031974 * A015468 A037842 A131293
KEYWORD
base,nonn
AUTHOR
Jacob Vecht, Apr 23 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 7 21:53 EDT 2024. Contains 372317 sequences. (Running on oeis4.)