|
|
A163679
|
|
Smaller prime p in Ormiston pairs (p, q) with q - p = 36.
|
|
2
|
|
|
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
(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
|
|
|
EXAMPLE
|
(187237, 187273) is an Ormiston pair with gap 36, so 187237 is in the sequence.
|
|
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 *)
|
|
PROG
|
(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) ];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|