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 A120820 #9 Apr 10 2025 10:45:48 %S A120820 1,2,8,82,118,158,2122,2242,2388 %N A120820 a(n) consecutive digits ascending beginning with the digit 2 give a prime. %C A120820 Digits are in ascending order beginning with 2 and after 9 comes 0. %C A120820 The sequence "a(n) consecutive digits descending beginning with the digit 2 give a prime" has only one term, 1 which represents the prime 2. %C A120820 a(10) > 10^5. - _Michael S. Branicky_, Apr 10 2025 %e A120820 8 is a term since 23456789 is a prime. %t A120820 fQ[n_] := PrimeQ@ FromDigits@ Mod[1+Range@n, 10]; lst = {}; Do[ If[fQ@n, AppendTo[lst, n]; Print@n], {n, 10000}]; lst %Y A120820 Cf. A006055, A120819, A120821, A120822, A120823, A120824, A120825, A120826, A120827. %K A120820 nonn,base,hard,more %O A120820 1,2 %A A120820 _Robert G. Wilson v_, Jul 05 2006