OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[1000], PrimeQ[ # Prime[ # ]+1]&]
PROG
(Magma) [n: n in [1..800] | IsPrime(n*NthPrime(n) + 1)]; // Vincenzo Librandi, Oct 05 2012
(PARI) is(n, p=prime(n))=isprime(n*p+1) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Jul 11 2003
STATUS
approved