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.
%I A252629 #6 Dec 19 2014 15:03:44 %S A252629 21,10,48,10,102,100,156,172,200,200,100,100,200,388,300,300,300,400, %T A252629 100,200,100,100,200,300,100,912,928,5000,982,2000,1150,1188,1236, %U A252629 1260,1344,1000,1414,1000,3000,1560,2000,1000,1722,1000,1776,1794,1900,1000,2046,1000,2100,2000 %N A252629 a(n) = A064735(n) - A000040(n). %H A252629 Zak Seidov, <a href="/A252629/b252629.txt">Table of n, a(n) for n = 1..2000</a> %t A252629 p = 1; s = {}; m = 100; Do[p = NextPrime[p]; idp = IntegerDigits[p]; le = Length[idp]; q = p; Label[1]; q = NextPrime[q]; par = Partition[IntegerDigits[q], le, 1]; If[MemberQ[par, idp], AppendTo[s, q - p]; Goto[2], Goto[1]]; Label[2], {m}];s(*for first m terms*) %Y A252629 Cf. A000040, A064735. %K A252629 nonn %O A252629 1,1 %A A252629 _Zak Seidov_, Dec 19 2014