cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A163679 Smaller prime p in Ormiston pairs (p, q) with q - p = 36.

This page as a plain text file.
%I A163679 #11 Feb 16 2025 08:33:11
%S A163679 98737,116293,187237,240437,276781,343337,357437,447137,454637,456293,
%T A163679 465337,508037,542837,565937,586237,623071,802037,817237,820837,
%U A163679 836071,837737,839837,843137,850637,884537,897781,903037,913337,1032071
%N A163679 Smaller prime p in Ormiston pairs (p, q) with q - p = 36.
%C A163679 An Ormiston pair (or rearrangement prime pair) is a pair of consecutive primes that use the same digits in a different order.
%H A163679 G. C. Greubel, <a href="/A163679/b163679.txt">Table of n, a(n) for n = 1..5000</a>
%H A163679 Jens Kruse Andersen, <a href="http://primerecords.dk/ormiston_tuples.htm">Ormiston Tuples</a>
%H A163679 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/RearrangementPrimePair.html">Rearrangement Prime Pair</a>
%e A163679 (187237, 187273) is an Ormiston pair with gap 36, so 187237 is in the sequence.
%t A163679 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 *)
%o A163679 (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) ];
%Y A163679 Subsequence of A069567.
%Y A163679 Cf. A072274, A163863.
%K A163679 nonn,base
%O A163679 1,1
%A A163679 _Klaus Brockhaus_, Aug 03 2009
%E A163679 Keyword base added by _Klaus Brockhaus_, Sep 18 2009