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.

Showing 1-1 of 1 results.

A090157 Primes of the form identical digits preceded by a 9.

Original entry on oeis.org

97, 911, 977, 97777, 911111, 97777777777777777777, 911111111111111111111, 97777777777777777777777777777, 911111111111111111111111111111111111111111
Offset: 1

Views

Author

Robert G. Wilson v, Nov 22 2003

Keywords

Comments

The identical digits must be either 1 or 7. - Harvey P. Dale, Jun 28 2020

Crossrefs

Programs

  • Mathematica
    Select[ FromDigits /@ Flatten[ Table[ PadRight[{9}, i, # ] & /@ {1, 2, 3, 4, 5, 6, 7, 8, 9}, {i, 2, 50}], 1], PrimeQ[ # ] &]
    Select[Union[Flatten[Table[FromDigits[PadRight[{9},n,d]],{n,2,50},{d,{1,7}}]]],PrimeQ]  (* Harvey P. Dale, Jun 27 2020 *)
Showing 1-1 of 1 results.