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.

User: Sébastien Tao

Sébastien Tao's wiki page.

Sébastien Tao has authored 2 sequences.

A363375 Numbers k such that 3^(k-1) - 2^k is prime.

Original entry on oeis.org

4, 6, 7, 8, 22, 32, 45, 52, 58, 60, 85, 98, 211, 290, 291, 426, 428, 712, 903, 1392, 1683, 1828, 2342, 3482, 4818, 4887, 9060, 14328, 16948, 17581, 18358, 65298, 69237, 84770, 94788
Offset: 1

Author

Sébastien Tao, May 29 2023

Keywords

Comments

a(36) > 100000. - Hugo Pfoertner, Jun 03 2023

Examples

			a(1) = 4 is in the sequence because 3^3 - 2^4 =  11 is prime.
a(2) = 6 is in the sequence because 3^5 - 2^6 = 179 is prime.
		

Crossrefs

The sequence that results from increasing all terms by 1 in A162714 is a subsequence.

Programs

  • Mathematica
    Cases[Range[1, 300], k_ /; PrimeQ[3^(k - 1) - 2^k]]

Extensions

a(16)-a(31) from Michael S. Branicky, May 29 2023
a(32)-a(33) from Hugo Pfoertner, May 29 2023
a(34)-a(35) from Hugo Pfoertner, Jun 02 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

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]