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.

A273907 Numbers k such that 2*10^k - 87 is prime.

Original entry on oeis.org

2, 3, 4, 9, 10, 13, 15, 24, 26, 38, 39, 42, 433, 489, 495, 513, 597, 829, 2019, 2738, 3096, 3691, 5437, 7537, 8536, 34125, 40105, 41790, 52713, 104811, 173809, 175860
Offset: 1

Views

Author

Robert Price, Jun 03 2016

Keywords

Comments

For k > 1, numbers k such that the digit 1 followed by k-2 occurrences of the digit 9 followed by the digits 13 is prime (see Example section).
a(33) > 2*10^5.

Examples

			3 is in this sequence because 2*10^3 - 87 = 1913 is prime.
Initial terms and associated primes:
a(1) = 2, 113;
a(2) = 3, 1913;
a(3) = 4, 19913;
a(4) = 9, 1999999913;
a(5) = 10, 19999999913, etc.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[0, 100000], PrimeQ[2*10^# - 87] &]
  • PARI
    is(n)=ispseudoprime(2*10^n - 87) \\ Charles R Greathouse IV, Jun 08 2016

Extensions

a(30)-a(32) from Robert Price, Apr 13 2018