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.

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