OFFSET
1,1
COMMENTS
This sequence is finite with between 4.361969*10^97 and 4.361998*10^97 terms. Under the Riemann Hypothesis, it has 4.361971987140703159099509113229164611538757211...*10^97 terms. - Charles R Greathouse IV, Nov 23 2009
10^100-a(148) and 10^100-a(149) are the last twin primes less than 10^100. - T. D. Noe, Nov 03 2008
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
For each of the 1000 terms in the table, 10^100 - a(n) was verified by the Magma Calculator as prime. - Jon E. Schoenfield, Aug 24 2009
EXAMPLE
A googol = 10^100. 10^100 - 797 is prime, so 797 is in the sequence.
MATHEMATICA
Rest[10^100-#&/@NestList[NextPrime[#, -1]&, 10^100, 50]] (* Harvey P. Dale, Jan 23 2017 *)
PROG
(PARI) forstep(x=1, n, 2, if(isprime(10^100-x), print1(x", ")))
CROSSREFS
KEYWORD
easy,nonn,fini
AUTHOR
Cino Hilliard, Jun 17 2005
EXTENSIONS
Edited by Charles R Greathouse IV, Nov 23 2009
STATUS
approved