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 A179916 #6 Feb 22 2013 21:38:32 %S A179916 12373,12379,12713,13171,15233,17333,17359,17971,19373,19379,21139, %T A179916 21319,22973,23167,23197,23311,23473,23537,23593,23671,23677,23761, %U A179916 23773,23977,24113,24137,24179,24197,24317,24337,24379,24733,25237 %N A179916 Primes with eight embedded primes. %C A179916 A079066(a(n)) = 8. %t A179916 f[n_] := Block[ {id = IntegerDigits@n}, len = Length@ id - 1; Count[ PrimeQ@ Union[ FromDigits@# & /@ Flatten[ Table[ Partition[ id, k, 1], {k, len}], 1]], True] + 1]; Select[ Prime@ Range@ 2790, f@# == 9 &] %o A179916 (Haskell) %o A179916 import Data.List (elemIndices) %o A179916 a179916 n = a179916_list !! (n-1) %o A179916 a179916_list = map (a000040 . (+ 1)) $ elemIndices 8 a079066_list %o A179916 -- _Reinhard Zumkeller_, Jul 19 2011 %Y A179916 Cf. A039996, A079397, A033274, A034844, A092621, A179909 - A179919, A033274. %K A179916 base,nonn %O A179916 1,1 %A A179916 _Robert G. Wilson v_, Aug 01 2010