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.

A158716 Largest prime with n distinct nonprime digits.

Original entry on oeis.org

89, 941, 9601, 98641, 980641
Offset: 2

Views

Author

Lekraj Beedassy, Mar 24 2009

Keywords

Crossrefs

Cf. A007810.

Programs

  • Mathematica
    a[n_]:=Module[{k=NextPrime[10^n-1,-1]}, While[!SubsetQ[{0,1,4,6,8,9}, IntegerDigits[k]] || CountDistinct[IntegerDigits[k]]Stefano Spezia, Aug 29 2025 *)