login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A278397 Numbers n such that 10^n - 20001 is prime. 1
5, 11, 16, 21, 37, 83, 94, 299, 318, 467, 622, 707, 1931, 2175, 2189, 2238, 2526, 5202, 10541, 15822, 17407, 19919, 19998, 25407, 96377, 118009 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For n>4, numbers such that n-5 occurrences of the digit 9 followed by the digits 79999 is prime (see Example section).
a(27) > 2*10^5.
LINKS
Makoto Kamada, Search for 9w79999.
EXAMPLE
5 is in this sequence because 10^5 - 20001 = 79999 is prime.
Initial terms and primes associated:
a(1) = 5, 79999;
a(2) = 11, 99999979999;
a(3) = 16, 9999999999979999;
a(4) = 21, 999999999999999979999;
a(5) = 37, 9999999999999999999999999999999979999; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[10^# - 20001] &]
PROG
(Magma) [n: n in [5..400] | IsPrime(10^n - 20001)]; // Vincenzo Librandi, Nov 21 2016
(PARI) is(n)=ispseudoprime(10^n-20001) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A314137 A314138 A314139 * A314140 A314141 A314142
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 20 2016
EXTENSIONS
a(26) from Robert Price, Jan 26 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 11:20 EDT 2024. Contains 371967 sequences. (Running on oeis4.)