OFFSET
1,1
COMMENTS
It appears that p having n embedded primes means that the set of prime integers generated by contiguous proper substrings of p has size n.
A079066(a(n)) = 2.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
MATHEMATICA
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@ 160, f@# == 3 &]
Select[ Prime@ Range@ 160, Function[ n, Length@ Select[ Union[ FromDigits /@ (Flatten[ Table[ Partition[#, k, 1], {k, Length@ # - 1}], 1] &)@ IntegerDigits@ n], PrimeQ]]@ # == 2 &] (* Michael Somos, Jan 13 2011 *)
PROG
(Haskell)
import Data.List (elemIndices)
a179910 n = a179910_list !! (n-1)
a179910_list = map (a000040 . (+ 1)) $ elemIndices 2 a079066_list
-- Reinhard Zumkeller, Jul 19 2011
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 01 2010
STATUS
approved