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.

A105610 Numbers k such that both p1=2k+3 and p2=4k+5 are primes.

Original entry on oeis.org

0, 2, 8, 14, 17, 38, 47, 68, 77, 98, 104, 113, 134, 152, 164, 167, 182, 188, 218, 248, 272, 287, 299, 302, 308, 329, 344, 362, 404, 413, 437, 467, 482, 497, 503, 533, 584, 617, 638, 647, 698, 713, 728, 764, 803, 812, 827, 878, 932, 1004, 1013, 1043, 1064, 1067
Offset: 1

Views

Author

Zak Seidov, Apr 15 2005

Keywords

Comments

p1 in A005382, p2 in A005383.

Crossrefs

Equals A123998 minus 1.

Programs

  • Mathematica
    Select[Range[0,1067], PrimeQ[2#+3]&&PrimeQ[4#+5]&] (* James C. McMahon, Jan 26 2024 *)
  • Python
    from sympy import isprime
    print([ k for k in range(0,1068) if isprime(2*k+3) and isprime(4*k+5)])
    # Karl-Heinz Hofmann, Jan 27 2024