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 A077359 #10 Nov 20 2020 15:14:07 %S A077359 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89, %T A077359 97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179, %U A077359 181,191,193,197,199,223,229,233,239,263,269,283,293,307,311,317,331 %N A077359 Primes whose external digits form a prime. Or primes from which deleting the internal digits leaves a prime. %H A077359 Harvey P. Dale, <a href="/A077359/b077359.txt">Table of n, a(n) for n = 1..1000</a> %t A077359 edpQ[n_]:=Module[{idn=IntegerDigits[n]},PrimeQ[10idn[[1]]+idn[[-1]]]]; Join[ {2,3,5,7},Select[Prime[Range[200]],edpQ]] (* _Harvey P. Dale_, Nov 20 2020 *) %o A077359 (PARI) {exdigs(n)=local(a,j,d); d=divrem(n,10); a=d[2]; n=d[1]; j=1; while(n>10,d=divrem(n,10); n=d[1]; j=10*j); 10*n+a} forprime(p=1,335,if(isprime(exdigs(p)),print1(p,","))) %Y A077359 Cf. A069686, A077360. %K A077359 base,nonn %O A077359 1,1 %A A077359 _Amarnath Murthy_, Nov 05 2002 %E A077359 Edited and extended by _Klaus Brockhaus_, Nov 06 2002