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.

A267943 Numbers n such that 2^n - 3 and 3*2^n - 1 are both prime.

Original entry on oeis.org

3, 4, 6, 94
Offset: 1

Views

Author

Arkadiusz Wesolowski, Jan 22 2016

Keywords

Comments

The intersection of A002235 and A050414 is not empty (3 does not belong to A267985).

Examples

			a(3) = 6 because 2^6 - 3 = 61 and 3*2^6 - 1 = 191 are both prime.
		

Crossrefs

Programs

  • Magma
    [n: n in [2..94] | IsPrime(2^n-3) and IsPrime(3*2^n-1)];
    
  • PARI
    isok(n) = isprime(2^n-3) && isprime(3*2^n-1);

Formula

A002235 INTERSECT A050414.