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.

Showing 1-2 of 2 results.

A162714 Primes p such that 3^p-2^(p+1) is also prime.

Original entry on oeis.org

3, 5, 7, 31, 59, 97, 2341, 4817, 9059, 14327
Offset: 1

Views

Author

Vincenzo Librandi, Jul 11 2009

Keywords

Comments

The associated 3^p-2^(p+1) are in A162715.

Examples

			The prime p=3 is in the sequence because 3^3-2^4=11 is prime.
The prime p=5 is in the sequence because 3^5-2^6=179 is prime.
		

Crossrefs

Cf. A162715.

Extensions

Definition simplified, one term added by R. J. Mathar, Aug 02 2009
a(8)-a(10) from Michael S. Branicky, May 25 2023

A363024 Primes of the form 3^(k-1) - 2^k.

Original entry on oeis.org

11, 179, 601, 1931, 10456158899, 617669101316651, 984770866999239144049, 2153693958571958138940251, 1570042898793851235488822819, 14130386090585813000157964091, 11972515182561981102976512358583456508049, 19088056323407826758511836230558252318494847619
Offset: 1

Views

Author

Sébastien Tao, May 13 2023

Keywords

Comments

a(23) has 1117 digits. - Michael S. Branicky, May 26 2023

Examples

			a(1) = 3^3 - 2^4 = 27 - 16 = 11 (prime).
a(2) = 3^5 - 2^6 = 243 - 64 = 179 (prime).
		

Crossrefs

Prime terms in A003063.
Cf. A162714, A363375, A162715 (subsequence).

Programs

  • Mathematica
    Select[Table[3^(k - 1) - 2^k, {k, 1 , 100}], PrimeQ]
Showing 1-2 of 2 results.