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.

A123214 Primes q such that (2^p + 1)/3 is prime, where p = Prime[q]; or primes in A123176[n].

Original entry on oeis.org

2, 3, 5, 7, 11, 31, 43, 1697, 12923, 13103, 77509
Offset: 1

Views

Author

Alexander Adamchuk, Oct 05 2006

Keywords

Comments

A123176[n] are the numbers n such that (2^p + 1)/3 is prime, where p = Prime[n]. A123176[n] = PrimePi[A000978[n]]. PrimePi[a(n)] = {1,2,3,4,5,11,14,265,1540,1559,...}.

Examples

			A123176[n] begin {2, 3, 4, 5, 6, 7, 8, 9, 11, 14, 18, 22, 26, 31, 39, 43, ...}.
Thus
a(1) = 2, a(2) = 3, a(3) = 5, a(4) = 7, a(5) = 11, a(6) = 31, a(7) = 43.
		

Crossrefs

Extensions

One more term from Max Alekseyev, Feb 06 2010

A243979 Indices of Wagstaff primes.

Original entry on oeis.org

2, 5, 14, 124, 399, 4552, 15898, 203095, 37029521, 105973558438, 19140185454656173, 3827634977577891833517
Offset: 1

Views

Author

Omar E. Pol, Jun 18 2014

Keywords

Examples

			For n = 3 the third Wagstaff prime is A000979(3) = 43 and 43 is also the 14th prime number, so a(3) = 14.
		

Crossrefs

Programs

  • PARI
    default(primelimit, 10^9); forprime(p=3, 31, q=(2^p+1)/3; if(isprime(q), print1(primepi(q)", "))) \\ Jens Kruse Andersen, Jun 22 2014

Formula

a(n) = A000720(A000979(n)).
A000040(a(n)) = A000979(n).

Extensions

a(11) from Jens Kruse Andersen, Jun 22 2014
a(12) calculated using Kim Walisch's primecount and added by Amiram Eldar, Sep 05 2024
Showing 1-2 of 2 results.