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.

A069794 Prime(n) and prime(n+2) use the same digits.

This page as a plain text file.
%I A069794 #5 Apr 26 2015 09:40:49
%S A069794 113,313,1579,2113,2879,3779,4813,5179,5237,5279,5879,6113,6379,8713,
%T A069794 9091,9479,9679,10313,10513,10613,13313,13913,14779,15013,17579,18713,
%U A069794 19213,20879,22013,22091,22679,24179,25037,25913,26479,27179,28579
%N A069794 Prime(n) and prime(n+2) use the same digits.
%C A069794 Prime(n) and prime(n+2) must use the same digits and the same number of repetitions of each digit. - _Harvey P. Dale_, Apr 26 2015
%e A069794 113 is a member as the next to next prime 131 uses the same digits.
%t A069794 p = {0}; q = {1}; r = {1}; Do[ If[p == r, Print[ Prime[n - 3]]]; p = q; q = r; r = Sort[ IntegerDigits[ Prime[n]]], {n, 3 10^3}]
%t A069794 sdQ[n_]:=Sort[IntegerDigits[n]]==Sort[IntegerDigits[NextPrime[n,2]]]; Select[Prime[Range[4000]],sdQ] (* _Harvey P. Dale_, Apr 26 2015 *)
%Y A069794 Cf. A069793, A069567, A069795, A069796.
%K A069794 base,nonn
%O A069794 1,1
%A A069794 _Amarnath Murthy_, Apr 09 2002
%E A069794 Edited, corrected and extended by _Robert G. Wilson v_, Apr 12 2002