login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A163682
Smaller prime p in Ormiston pairs (p, q) with q - p = 90.
2
2030789, 2542237, 3863017, 4508341, 7001123, 7583341, 8482459, 8547677, 8916239, 9194677, 9470017, 11117123, 11755673, 11999563, 13691563, 13898237, 15906127, 16047673, 16272343, 16299013, 16829563, 17437457, 17604347
OFFSET
1,1
COMMENTS
An Ormiston pair (or rearrangement prime pair) is a pair of consecutive primes that use the same digits in a different order.
LINKS
Jens Kruse Andersen, Ormiston Tuples
Eric Weisstein's World of Mathematics, Rearrangement Prime Pair
EXAMPLE
(3863017, 3863107) is an Ormiston pair with gap 90, so 3863017 is in the sequence.
MATHEMATICA
Transpose[Select[Select[Partition[Prime[Range[70000]], 2, 1], Last[#] - First[#] == 90 &], Sort[IntegerDigits[First[#]]] == Sort[IntegerDigits[Last[#]]] &]][[1]] (* G. C. Greubel, Aug 02 2017 *)
PROG
(Magma) [ p: p in PrimesUpTo(17700000) | q-p eq 90 and a eq b where a is Sort(Intseq(p)) where b is Sort(Intseq(q)) where q is NextPrime(p) ];
CROSSREFS
Subsequence of A069567.
Sequence in context: A290037 A289956 A263892 * A045871 A272598 A190316
KEYWORD
nonn,base
AUTHOR
Klaus Brockhaus, Aug 03 2009
EXTENSIONS
Keyword base added by Klaus Brockhaus, Sep 18 2009
STATUS
approved