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.

A068649 Primes in which a string of 9's is sandwiched between two 1's.

Original entry on oeis.org

11, 191, 19991, 199999991, 19999999999999999999999999999999999999991, 199999999999999999999999999999999999999999999999999999999999999999999999999999999999991
Offset: 1

Views

Author

Amarnath Murthy, Feb 28 2002

Keywords

Comments

The next term has 199 9's sandwiched between the starting and ending 1.

Examples

			11 is also a member in which a string of 0 9's is there between two one's.
		

Crossrefs

Programs

  • Maple
    a := 1:b := 9:i := 1:for n from 0 to 500 do c := a+10*(10^n-1)/9*b+10^(n+1)*a; if(isprime(c)) then d[i] := c; i := i+1; end if; end do:q := seq(d[j],j=1..i-1);
  • Mathematica
    Select[Table[FromDigits[Join[{1}, Table[9, {i}], {1}]], {i, 0, 200}], PrimeQ]

Extensions

More terms from Sascha Kurz and Harvey P. Dale, Mar 19 2002
Edited by Ray Chandler, Nov 04 2014

A082703 Numbers k such that (18*10^(k-1) - 81)/9 is a plateau prime.

Original entry on oeis.org

3, 5, 9, 41, 87, 201, 731, 1461, 23673, 28631
Offset: 1

Views

Author

Patrick De Geest, Apr 13 2003

Keywords

Comments

Prime versus probable prime status and proofs are given in the author's table.

Examples

			k=9 -> (18*10^(9-1) - 81)/9 = 199999991.
		

References

  • C. Caldwell and H. Dubner, "Journal of Recreational Mathematics", Volume 28, No. 1, 1996-97, pp. 1-9.

Crossrefs

Formula

a(n) = A056250(n+1) + 2.

Extensions

More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008
Edited by Ray Chandler, Nov 04 2014
Showing 1-2 of 2 results.