login
A273907
Numbers k such that 2*10^k - 87 is prime.
0
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,1
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.
EXAMPLE
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.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[2*10^# - 87] &]
PROG
(PARI) is(n)=ispseudoprime(2*10^n - 87) \\ Charles R Greathouse IV, Jun 08 2016
KEYWORD
nonn,more
AUTHOR
Robert Price, Jun 03 2016
EXTENSIONS
a(30)-a(32) from Robert Price, Apr 13 2018
STATUS
approved