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.

A100502 Primes arising in A099678.

Original entry on oeis.org

10301, 10501, 10601, 101501, 101701, 102001, 102101, 102301, 102701, 103001, 103801, 104701, 104801, 105401, 105601, 105701, 106501, 106801, 107101, 107201, 108301, 108401, 109001, 109201, 1010201, 1010501, 1011001, 1011601, 1012201, 1012601, 1013401
Offset: 1

Views

Author

N. J. A. Sloane, Nov 19 2004

Keywords

Crossrefs

Cf. A099678.

Programs

  • Maple
    t0:=[]; u0:=[]; for n from 0 to 500 do p0:="10"; p1:="01"; t1:=cat(p0,n,p1); t1:=convert(t1,decimal,10); if isprime(t1) then t0:=[op(t0),n]; u0:=[op(u0),t1]; fi; od: u0;
  • Mathematica
    p = Select[ Range[280], PrimeQ[ FromDigits[Join[{1, 0}, IntegerDigits[ # ], {0, 1}]]] &]; Table[ FromDigits[ Join[{1, 0}, IntegerDigits[ p[[n]]], {0, 1}]], {n, 29}] (* Robert G. Wilson v, Nov 20 2004 *)

A103888 Numbers k such that the string 100k001 is prime.

Original entry on oeis.org

3, 8, 12, 21, 23, 38, 42, 45, 48, 51, 54, 56, 59, 69, 72, 83, 86, 92, 93, 105, 111, 113, 131, 135, 137, 159, 161, 162, 174, 176, 183, 203, 207, 209, 210, 228, 230, 237, 245, 246, 249, 260, 264, 267, 273, 287, 300, 324, 327, 330, 336, 341, 345, 362, 386, 390, 396
Offset: 1

Views

Author

Parthasarathy Nambi, Mar 30 2005

Keywords

Examples

			93 is a term, as 10093001 is prime.
		

Crossrefs

Cf. A099678.

Programs

  • Mathematica
    Select[Range[400],PrimeQ[FromDigits[Flatten[Prepend[IntegerDigits[1000#+1],{1,0,0}]]]]&] (* James C. McMahon, Jan 17 2024 *)

Extensions

More terms from David Wasserman, Apr 24 2008
Showing 1-2 of 2 results.