login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138837 Non-Mersenne primes: A000040 \ A000668. 12
2, 5, 11, 13, 17, 19, 23, 29, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Primes that are not Mersenne primes A000668.

Pandigital primes in base 2. (Pandigital interpreted as including all digits, not necessarily only once each.) - Franklin T. Adams-Watters, May 11 2011

Primes whose sum of divisors is not a power of 2. - Omar E. Pol, Dec 19 2016

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

Microsoft Ltd., The Prime Challenge, Dec. 2013

OEIS wiki, Pandigital primes.

FORMULA

A138837 = A000040 \ A000668. - M. F. Hasler, Feb 09 2014

MATHEMATICA

max = 300; Complement[Prime[Range[PrimePi[max]]], 2^Range[Ceiling[Log[2, max]]] - 1] (* Alonso del Arte, Dec 30 2013 *)

PROG

(PARI) is_A138837(n)={isprime(n)&&1<<valuation(n+1, 2)!=n+1} \\ M. F. Hasler, Feb 05 2014

CROSSREFS

Primes in A133398.

Cf. A000040, A000203, A000668, A155151.

Sequence in context: A032541 A281644 A075749 * A038899 A218582 A118753

Adjacent sequences:  A138834 A138835 A138836 * A138838 A138839 A138840

KEYWORD

easy,nonn

AUTHOR

Omar E. Pol, Apr 03 2008

EXTENSIONS

New name from Omar E. Pol, Jan 02 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 18 13:28 EDT 2018. Contains 313832 sequences. (Running on oeis4.)