VOOZH
about
URL: https://oeis.org/A163679
⇱ A163679 - OEIS
login
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
G. C. Greubel,
Table of n, a(n) for n = 1..5000
Jens Kruse Andersen,
Ormiston Tuples
Eric Weisstein's World of Mathematics,
Rearrangement Prime Pair
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
Subsequence of
A069567
.
Cf.
A072274
,
A163863
.
Sequence in context:
A305698
A052090
A234889
*
A106776
A238296
A359345
Adjacent sequences:
A163676
A163677
A163678
*
A163680
A163681
A163682
KEYWORD
nonn
,
base
AUTHOR
Klaus Brockhaus
, Aug 03 2009
EXTENSIONS
Keyword base added by
Klaus Brockhaus
, Sep 18 2009
STATUS
approved