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.

A163679 Smaller prime p in Ormiston pairs (p, q) with q - p = 36.

Original entry on oeis.org

98737, 116293, 187237, 240437, 276781, 343337, 357437, 447137, 454637, 456293, 465337, 508037, 542837, 565937, 586237, 623071, 802037, 817237, 820837, 836071, 837737, 839837, 843137, 850637, 884537, 897781, 903037, 913337, 1032071
Offset: 1

Views

Author

Klaus Brockhaus, Aug 03 2009

Keywords

Comments

An Ormiston pair (or rearrangement prime pair) is a pair of consecutive primes that use the same digits in a different order.

Examples

			(187237, 187273) is an Ormiston pair with gap 36, so 187237 is in the sequence.
		

Crossrefs

Subsequence of A069567.

Programs

  • Magma
    [ p: p in PrimesUpTo(1050000) | q-p eq 36 and a eq b where a is Sort(Intseq(p)) where b is Sort(Intseq(q)) where q is NextPrime(p) ];
  • Mathematica
    Transpose[Select[Select[Partition[Prime[Range[8000]], 2, 1], Last[#] - First[#] == 36 &], Sort[IntegerDigits[First[#]]] == Sort[IntegerDigits[Last[#]]] &]][[1]] (* G. C. Greubel, Aug 02 2017 *)

Extensions

Keyword base added by Klaus Brockhaus, Sep 18 2009