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.

A272176 Primes p such that p + 44 is also prime.

Original entry on oeis.org

3, 17, 23, 29, 53, 59, 83, 107, 113, 137, 149, 167, 179, 197, 227, 233, 239, 263, 269, 293, 353, 389, 419, 443, 479, 503, 557, 563, 569, 587, 599, 617, 647, 683, 743, 809, 839, 863, 947, 953, 977, 1019, 1049, 1109, 1187, 1193, 1259, 1277, 1283
Offset: 1

Views

Author

Karl V. Keller, Jr., Apr 21 2016

Keywords

Comments

A134121 is a subsequence of this sequence.

Examples

			3 is a term because 3 + 44 = 47 is also prime.
17 is a term because 17 + 44 = 61 is also prime.
		

Crossrefs

Programs

  • PARI
    lista(nn) = forprime(p=2, nn, if(isprime(p+44), print1(p, ", "))); \\ Altug Alkan, Apr 21 2016
  • Python
    from sympy import isprime
    for i in range(3, 3001, 2):
        if isprime(i) and isprime(i + 44): print(i, end=', ')