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

A099081 Numbers k such that 1.2. ... .k-1.k + 1 is prime (where dot between numbers means concatenation).

Original entry on oeis.org

1, 2, 6, 30, 88
Offset: 1

Views

Author

Farideh Firoozbakht, Oct 23 2004

Keywords

Comments

a(6) > 25000. - Michael S. Branicky, Sep 13 2024

Examples

			6 is in the sequence because 123456+1 is prime.
		

Crossrefs

Programs

  • Mathematica
    f[n_] := Block[{p = 0, k = 1}, While[k <= n, p = 10^Floor[ Log[10, k] + 1]p + k; k++ ]; PrimeQ[p + 1]]; Do[ If[ f[n], Print[n]], {n, 1000}] (* Robert G. Wilson v, Nov 01 2004 *)

A099082 Numbers k such that 1.2. ... .k-1.k + 2 is prime (dot between numbers means concatenation).

Original entry on oeis.org

1, 5, 9, 11, 65, 159
Offset: 1

Views

Author

Farideh Firoozbakht, Oct 23 2004

Keywords

Comments

Numbers k such that A007908(k)+2 is prime.
Next term is greater than 2000.
a(7) > 4034. - J.W.L. (Jan) Eerland, Nov 19 2022
a(7) > 15176. - J.W.L. (Jan) Eerland, Feb 24 2023
a(7) > 30000. - Michael S. Branicky, Sep 13 2024

Examples

			9 is in the sequence because 123456789 + 2 is prime.
		

Crossrefs

Programs

  • Mathematica
    n=0;Monitor[Parallelize[While[True,If[PrimeQ[2+ToExpression[StringJoin[ToString/@Table[k,{k,1,n}]]]],Print[n]];n++];n],n] (* J.W.L. (Jan) Eerland, Nov 19 2022 *)

A099084 Numbers k such that 1.2. ... .k-1.k + 4 is a prime (dot between numbers means concatenation).

Original entry on oeis.org

1, 3, 27, 663, 6919
Offset: 1

Views

Author

Farideh Firoozbakht, Nov 03 2004

Keywords

Comments

Each term is odd and next term is greater than 2500. Prime corresponding to the next term has more than 8900 digits. Number of digits of primes corresponding to the four known terms of this sequence are respectively 1,3,45 & 1881.
Next term is greater than 25000. - Michael S. Branicky, Sep 12 2024

Examples

			27 is in the sequence because 123456789101112131415161718192021222324252627 + 4 is a prime.
		

Crossrefs

Extensions

a(5) from Michael S. Branicky, Jun 20 2023
Showing 1-3 of 3 results.