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.

A163682 Smaller prime p in Ormiston pairs (p, q) with q - p = 90.

This page as a plain text file.
%I A163682 #10 Feb 16 2025 08:33:11
%S A163682 2030789,2542237,3863017,4508341,7001123,7583341,8482459,8547677,
%T A163682 8916239,9194677,9470017,11117123,11755673,11999563,13691563,13898237,
%U A163682 15906127,16047673,16272343,16299013,16829563,17437457,17604347
%N A163682 Smaller prime p in Ormiston pairs (p, q) with q - p = 90.
%C A163682 An Ormiston pair (or rearrangement prime pair) is a pair of consecutive primes that use the same digits in a different order.
%H A163682 G. C. Greubel, <a href="/A163682/b163682.txt">Table of n, a(n) for n = 1..5000</a>
%H A163682 Jens Kruse Andersen, <a href="http://primerecords.dk/ormiston_tuples.htm">Ormiston Tuples</a>
%H A163682 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/RearrangementPrimePair.html">Rearrangement Prime Pair</a>
%e A163682 (3863017, 3863107) is an Ormiston pair with gap 90, so 3863017 is in the sequence.
%t A163682 Transpose[Select[Select[Partition[Prime[Range[70000]], 2, 1], Last[#] - First[#] == 90 &], Sort[IntegerDigits[First[#]]] == Sort[IntegerDigits[Last[#]]] &]][[1]] (* _G. C. Greubel_, Aug 02 2017 *)
%o A163682 (Magma) [ p: p in PrimesUpTo(17700000) | q-p eq 90 and a eq b where a is Sort(Intseq(p)) where b is Sort(Intseq(q)) where q is NextPrime(p) ];
%Y A163682 Subsequence of A069567.
%Y A163682 Cf. A072274, A163863.
%K A163682 nonn,base
%O A163682 1,1
%A A163682 _Klaus Brockhaus_, Aug 03 2009
%E A163682 Keyword base added by _Klaus Brockhaus_, Sep 18 2009