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.

A120829 a(n) consecutive digits descending beginning with the digit 4 give a prime.

Original entry on oeis.org

2, 64, 176, 1502, 4676, 7518, 8244, 8318
Offset: 1

Views

Author

Robert G. Wilson v, Jul 05 2006

Keywords

Comments

Digits are in descending order beginning with 4 and after 0 comes 9.
a(9) > 10^5. - Michael S. Branicky, Apr 22 2025

Examples

			2 is a term since 43 is a prime.
		

Crossrefs

Programs

  • Mathematica
    fQ[n_] := PrimeQ@ FromDigits@ Mod[5-Range@n, 10]; lst = {}; Do[ If[fQ@n, AppendTo[lst, n]; Print@n], {n, 10000}]; lst

Extensions

a(6)-a(7) corrected and a(8) from Michael S. Branicky, Apr 08 2025