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.

A277290 Prime-indexed primes p such that Lucas(p) is prime.

Original entry on oeis.org

5, 11, 17, 31, 41, 353, 617, 4787, 5851, 148091, 637751
Offset: 1

Views

Author

Bobby Jacobs, Oct 21 2016

Keywords

Examples

			17 = A000040(7), with 7 itself being a prime, and A000032(17) = 3571, a prime, thus 17 is included in this sequence.
		

Crossrefs

Subsequence of A006450. See also A168033.

Formula

a(n) = prime(A123677(n)).
a(n) = prime(prime(A123678(n))).

A168035 Primes p for which floor(p^phi) and floor(phi^p) are prime.

Original entry on oeis.org

2, 5, 7, 17, 61, 617, 7741, 10691
Offset: 1

Views

Author

Keywords

Crossrefs

Intersection of A168033 and A168034.

Programs

  • Mathematica
    $MaxExtraPrecision=8!; Select[Prime[Range[3*6! ]],PrimeQ[Floor[ #^GoldenRatio]]&&PrimeQ[Floor[GoldenRatio^# ]]&]
  • PARI
    phi=(1+sqrt(5))/2; forprime(p=2, 1e3, if(isprime(floor(p^phi)) && isprime(floor(phi^p)), print1(p", "))) \\ Charles R Greathouse IV, Jul 29 2011
Showing 1-2 of 2 results.