cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A237251 Primes p such that p*2^(p-1)-1 is prime.

Original entry on oeis.org

2, 3, 5, 17, 257, 16487
Offset: 1

Views

Author

Gerasimov Sergey, Feb 05 2014

Keywords

Comments

The fifth Fermat prime, 65537, is not in the sequence: 65537*2^65536-1 is composite (per PFGW). - Michael B. Porter, Feb 11 2014
Also 65537*2^65536-1 is divisible by 16267 and 2058772459. - Jeppe Stig Nielsen, Jan 04 2020

Crossrefs

Programs

  • PARI
    isok(p) = isprime(p) && isprime(p*2^(p-1) - 1); \\ Michel Marcus, Feb 06 2014

Extensions

a(5) from Ralf Stephan, Feb 03 2014
a(6) = A230769(26)+1 appended by Jeppe Stig Nielsen, Jan 04 2020