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 A053584 #14 Jun 23 2022 13:49:59 %S A053584 7,17,317,6317,26317,126317,2126317,72126317,372126317,5372126317, %T A053584 125372126317,15125372126317,415125372126317,23415125372126317, %U A053584 2223415125372126317,152223415125372126317,21152223415125372126317,4221152223415125372126317 %N A053584 a(n+1) is the smallest prime ending with a(n), where a(1)=7. %H A053584 Michael S. Branicky, <a href="/A053584/b053584.txt">Table of n, a(n) for n = 1..372</a> %o A053584 (Python) %o A053584 from sympy import isprime %o A053584 from itertools import count, islice %o A053584 def agen(an=7): %o A053584 while True: %o A053584 yield an %o A053584 pow10 = 10**len(str(an)) %o A053584 for t in count(pow10+an, step=pow10): %o A053584 if isprime(t): %o A053584 an = t %o A053584 break %o A053584 print(list(islice(agen(), 18))) # _Michael S. Branicky_, Jun 23 2022 %Y A053584 Cf. A000040, A053582, A053583, A069612. %K A053584 base,nonn %O A053584 1,1 %A A053584 _G. L. Honaker, Jr._, Jan 18 2000