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.

A120826 a(n) consecutive digits ascending beginning with the digit 8 give a prime.

This page as a plain text file.
%I A120826 #25 Apr 11 2025 11:28:18
%S A120826 2,82,152,7066,84892
%N A120826 a(n) consecutive digits ascending beginning with the digit 8 give a prime.
%C A120826 Digits are in ascending order beginning with 8 and after 9 comes 0.
%C A120826 The sequence "a(n) consecutive digits descending beginning with the digit 8 give a prime" has no terms.
%C A120826 a(6) > 10^5. - _Michael S. Branicky_, Apr 11 2025
%e A120826 2 is a term since 89 is a prime.
%e A120826 82 is a term because 8901234567890123456789012345678901234567890123456789012345678901234567890123456789 is a prime.
%t A120826 fQ[n_] := PrimeQ@ FromDigits@ Mod[7+Range@n, 10]; lst = {}; Do[ If[fQ@n, AppendTo[lst, n]; Print@n], {n, 5000}]; lst
%Y A120826 Cf. A006055, A120819, A120820, A120821, A120822, A120823, A120824, A120825, A120827.
%K A120826 nonn,base,hard,more
%O A120826 1,1
%A A120826 _Robert G. Wilson v_, Jul 05 2006
%E A120826 a(4) from _Bert Dobbelaere_, Apr 01 2025
%E A120826 a(5) from _Michael S. Branicky_, Apr 03 2025