login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

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 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A163680 Smaller prime p in Ormiston pairs (p, q) with q - p = 54. 2
35617, 40639, 359783, 502339, 552917, 580417, 668417, 719839, 807017, 824339, 833117, 861239, 909917, 961339, 987739, 1078417, 1145539, 1168639, 1185017, 1196539, 1220839, 1313239, 1479617, 1497439, 1710439, 1710539, 1732139 (list; graph; refs; listen; history; text; internal format)
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

Harvey P. Dale, Table of n, a(n) for n = 1..1000

Jens Kruse Andersen, Ormiston Tuples

Eric Weisstein's World of Mathematics, Rearrangement Prime Pair

EXAMPLE

(359783, 359837) is an Ormiston pair with gap 54, so 359783 is in the sequence.

MATHEMATICA

op54Q[{a_, b_}]:=Sort[IntegerDigits[a]]==Sort[IntegerDigits[b]] && b-a==54; Transpose[Select[Partition[Prime[Range[150000]], 2, 1], op54Q]][[1]] (* Harvey P. Dale, Jun 16 2014 *)

PROG

(Magma) [ p: p in PrimesUpTo(1750000) | q-p eq 54 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.

Cf. A072274, A163863.

Sequence in context: A206673 A205517 A204666 * A172712 A161023 A252920

Adjacent sequences: A163677 A163678 A163679 * A163681 A163682 A163683

KEYWORD

nonn,base

AUTHOR

Klaus Brockhaus, Aug 03 2009

EXTENSIONS

Keyword base added by Klaus Brockhaus, Sep 18 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 26 17:10 EST 2022. Contains 358362 sequences. (Running on oeis4.)