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.

A245641 Prime numbers P such that 8*P^2-1 and 24*P^3-1 are also primes.

Original entry on oeis.org

2, 3, 5, 17, 67, 137, 241, 353, 541, 641, 907, 1033, 1307, 1453, 1607, 1621, 1733, 1811, 2053, 2243, 2273, 2377, 2621, 2963, 3677, 3701, 3881, 3943, 4861, 5261, 5647, 6101, 6823, 7723, 7877, 8081, 8101, 8447, 8923, 9467, 10111, 10223, 11483, 11617, 12161, 12203, 12227, 12457
Offset: 1

Views

Author

Pierre CAMI, Jul 28 2014

Keywords

Comments

Intersection of A245639 and A245640.

Crossrefs

Programs

  • Magma
    [p: p in PrimesUpTo(15000)| IsPrime(8*p^2-1)and IsPrime(24*p^3-1)]; // Vincenzo Librandi, Sep 08 2014
  • Mathematica
    Select[Prime[Range[2000]], PrimeQ[8 #^2 - 1] && PrimeQ[24 #^3 - 1] &] (* Vincenzo Librandi, Sep 08 2014 *)
  • PARI
    select(p->isprime(8*p^2-1)&&isprime(24*p^3-1), primes(3000)) \\ Colin Barker, Jul 28 2014