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 A172195 #6 Feb 20 2014 17:52:16 %S A172195 29,37,43,47,53,59,67,73,79,83,97,101,113,131,151,181,191,211,223,227, %T A172195 229,251,281,311,313,331,401,409,443,449,461,463,467,521,601,607,641, %U A172195 643,647,661,683,809,811,821,863,881,883,911,1013,1019,1031 %N A172195 Prime numbers for which the absolute difference between the summation of its digits & the product of its digits is a prime. %H A172195 Harvey P. Dale, <a href="/A172195/b172195.txt">Table of n, a(n) for n = 1..1000</a> %t A172195 dpQ[n_]:=Module[{idn=IntegerDigits[n]},PrimeQ[Abs[Total[idn]- Times@@ idn]]]; Select[Prime[Range[400]],dpQ] (* _Harvey P. Dale_, Feb 20 2014 *) %Y A172195 Cf. A007605 (Sum of digits of n-th prime), A053666 (Product of digits of n-th prime). For the sequence terms, abs(A007605(n) - A053666(n)) is prime. %K A172195 base,nonn %O A172195 1,1 %A A172195 _Umut Uludag_, Jan 29 2010