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.

A181605 Twin primes ending in 7.

Original entry on oeis.org

7, 17, 107, 137, 197, 227, 347, 617, 827, 857, 1277, 1427, 1487, 1607, 1667, 1697, 1787, 1877, 1997, 2027, 2087, 2237, 2267, 2657, 2687, 3167, 3257, 3467, 3527, 3557, 3767, 3917, 4127, 4157, 4217, 4337, 4517, 4547, 4637, 4787, 4967, 5417, 5477, 5657
Offset: 1

Views

Author

Omar E. Pol, Nov 01 2010

Keywords

Comments

First disagrees with A092340 at n=26: A092340 contains 2707, but this sequence doesn't. Is this a subsequence of A092340? - Nathaniel Johnston, Jun 25 2011
Yes, it is a subsequence of A092340: see link. - Robert Israel, Apr 13 2021

Crossrefs

Programs

  • Maple
    [7, op(select(t -> isprime(t) and isprime(t+2), [seq(i,i=17..10000,30)]))]; # Robert Israel, Apr 13 2021
  • Mathematica
    Select[Prime@ Range@ 800, Mod[ #, 10] == 7 && (PrimeQ[ # - 2] || PrimeQ[ # + 2]) &] (* Robert G. Wilson v, Nov 06 2010 *)

Formula

A001097 INTERSECT A030432. - R. J. Mathar, Nov 03 2010

Extensions

More terms from R. J. Mathar and Robert G. Wilson v, Nov 03 2010

A248661 Initial members of prime quadruples (n, n+2, n+54, n+56).

Original entry on oeis.org

5, 17, 137, 227, 827, 1427, 1667, 1877, 2027, 2087, 2657, 3527, 3767, 4217, 4967, 10037, 11117, 11777, 12107, 13877, 17987, 19697, 20717, 21557, 22037, 23687, 24977, 27527, 27737, 34157, 37307, 41177, 42017, 42407, 47657, 48677
Offset: 1

Views

Author

Karl V. Keller, Jr., Jan 11 2015

Keywords

Comments

This sequence is prime n, where there exist two twin prime pairs of (n,n+2), (n+54,n+56).
Excluding 5, this is a subsequence of each of the following: A128468 (a(n)=30*n+17), A039949 (primes, 30n-13), A181605 (twin primes, end 7), and A092340 (prime n, where n^2+2*n divides (fibonacci(n^2)+fibonacci(2*n))).

Examples

			For n=17, the numbers 17, 19, 71, 73, are primes.
		

Crossrefs

Cf. A077800 (twin primes), A128468, A039949, A181605, A092340.

Programs

  • Python
    from sympy import isprime
    for n in range(1,10000001,2):
      if isprime(n) and isprime(n+2) and isprime(n+54) and isprime(n+56): print(n,end=', ')
Showing 1-2 of 2 results.