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 A238593 #4 Mar 03 2014 12:14:20 %S A238593 1,2,3,4,5,6,7,8,2,10,7,12,13,14,15,16,17,18,19,5,21,22,23,24,25,26, %T A238593 27,28,29,6,31,7,12,34,35,36,37,38,19,21,41,42,43,44,45,46,47,48,49, %U A238593 50,51,52,53,54,55,56,57,32,59,60,61,11,63,33,12,7,66,68 %N A238593 Smallest m such that the n-th prime occurs as substring in A019518(n). %C A238593 a(n) <= n; see A165450 for earley bird primes: A165450(n) = A000040(m) with a(m) < m. %H A238593 Reinhard Zumkeller, <a href="/A238593/b238593.txt">Table of n, a(n) for n = 1..3333</a> %e A238593 n=10, prime(10)=29 occurs first in A019518(10)=2357111317192329, therefore a(10) = 10; %e A238593 prime(11)=31 occurs already in A019518(7)=2357111317, therefore a(11) = 7. %o A238593 (Haskell) %o A238593 import Data.List (isInfixOf, findIndex); import Data.Maybe (fromJust) %o A238593 a238593 n = (+ 1) $ fromJust $ findIndex %o A238593 (isInfixOf $ show $ a000040 n) (scanl1 (++) $ map show a000040_list) %K A238593 nonn,base %O A238593 1,2 %A A238593 _Reinhard Zumkeller_, Mar 03 2014