OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
EXAMPLE
n=54: prime(54) - 54 = 197, a prime.
MATHEMATICA
Select[ Range[ 415 ], PrimeQ[ Prime[ # ] - # ] & ]
PROG
(PARI) j=[]; for(n=1, 500, if(isprime(prime(n)-n), j=concat(j, n))); j
(PARI) { n=0; for (m=1, 10^9, if (isprime(prime(m) - m), write("b064269.txt", n++, " ", m); if (n==1000, break)) ) } \\ Harry J. Smith, Sep 10 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Sep 23 2001
STATUS
approved