cp's OEIS Frontend

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.

A179919 Primes with eleven embedded primes.

This page as a plain text file.
%I A179919 #6 Feb 22 2013 21:38:32
%S A179919 111317,113177,113537,113719,113731,117193,117331,121379,123733,
%T A179919 129719,131797,132173,132971,136733,136739,137197,137321,137339,
%U A179919 137353,137359,137393,137573,152311,172313,173137,173359,174311,193373,211319,213799
%N A179919 Primes with eleven embedded primes.
%C A179919 A079066(a(n)) = 11.
%t A179919 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@ 19110, f@# == 12 &]
%o A179919 (Haskell)
%o A179919 import Data.List (elemIndices)
%o A179919 a179919 n = a179919_list !! (n-1)
%o A179919 a179919_list = map (a000040 . (+ 1)) $ elemIndices 11 a079066_list
%o A179919 -- _Reinhard Zumkeller_, Jul 19 2011
%Y A179919 Cf. A039996, A079397, A033274, A034844, A092621, A179909 - A179919, A033274.
%K A179919 base,nonn
%O A179919 1,1
%A A179919 _Robert G. Wilson v_, Aug 01 2010