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.

A048399 Primes with consecutive digits that differ exactly by 2.

This page as a plain text file.
%I A048399 #16 Jun 16 2021 02:13:20
%S A048399 2,3,5,7,13,31,53,79,97,131,313,353,757,797,31357,35353,35753,35797,
%T A048399 75353,75797,79757,97579,131357,135353,135757,353531,531353,535757,
%U A048399 575753,579757,757579,797579,975313,975797,979757,1313579,3131353
%N A048399 Primes with consecutive digits that differ exactly by 2.
%H A048399 Alois P. Heinz, <a href="/A048399/b048399.txt">Table of n, a(n) for n = 1..10000</a>
%t A048399 Join[{2,3,5,7},Select[Prime[Range[230000]],Union[Abs[ Differences[ IntegerDigits[ #]]]]=={2}&]] (* _Harvey P. Dale_, Nov 03 2013 *)
%Y A048399 Cf. A033088, A048398, A048400, A048401, A048402, A048403, A048404, A048405.
%K A048399 nonn,base
%O A048399 1,1
%A A048399 _Patrick De Geest_, Apr 15 1999