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-2 of 2 results.

A055558 Primes of the form 1999...999.

Original entry on oeis.org

19, 199, 1999, 199999, 19999999, 199999999999999999999999999, 1999999999999999999999999999, 199999999999999999999999999999999999999999999999999999
Offset: 1

Views

Author

Labos Elemer, Jul 10 2000

Keywords

Comments

Primes of the form 2*10^k - 1.

Examples

			2*10^n - 1 is prime for {1,2,3,5,7,26,27,53,147,236,248,386,401}; in each of these numbers, the digit '9' appears n times.
		

Crossrefs

Subsequence of A090149.
Primes in A067272.

Programs

Formula

a(n) = 2*10^A002957(n) - 1 = A067272(A002957(n) + 1). - Elmo R. Oliveira, Jun 14 2025

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-2 of 2 results.