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!)
A138837 Non-Mersenne primes: A000040 \ A000668. 15
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
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.
Sequence in context: A363981 A281644 A075749 * A038899 A218582 A118753
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)