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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A163681 Smaller prime p in Ormiston pairs (p, q) with q - p = 72. 1
1290719, 1477219, 1802419, 2520697, 2902519, 3327419, 3391697, 3498119, 4596419, 4641919, 4709519, 5521819, 5835619, 6091031, 6267419, 6642919, 6943919, 7118519, 7480519, 8241019, 8630519, 8934319, 8946919, 9859697 (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
Jens Kruse Andersen, Ormiston Tuples
Eric Weisstein's World of Mathematics, Rearrangement Prime Pair
EXAMPLE
(1802419, 1802491) is an Ormiston pair with gap 72, so 1802419 is in the sequence.
MATHEMATICA
Transpose[Select[Select[Partition[Prime[Range[800000]], 2, 1], Last[#]-First[#]==72&], Sort[IntegerDigits[First[#]]]==Sort[IntegerDigits[Last[#]]]&]][[1]] (* Harvey P. Dale, Feb 14 2011 *)
PROG
(Magma) [ p: p in PrimesUpTo(10000000) | q-p eq 72 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: A247583 A206749 A244563 * A354560 A185776 A345083
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 April 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)