OFFSET
1,2
COMMENTS
The associated prime list is 2, 5, 19, 263, 1033, 65551, 77371252455336267181195349 etc.
a(17) > 335000. - Giovanni Resta, Mar 26 2014
EXAMPLE
For n=2, 2^2+2-1=5 is prime. For n=4, 2^4+4-1=19 is prime.
MATHEMATICA
fQ[n_] := PrimeQ[ 2^n + n - 1]; k = 1; lst = {}; While[k < 35000, If[ fQ@k, AppendTo[ lst, k]; Print@k]; k ++ ] (* Robert G. Wilson v, Feb 26 2010 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Feb 09 2010
EXTENSIONS
Definition corrected, leading 1 inserted, 5 terms appended - R. J. Mathar, Feb 13 2010
a(12) - a(15) from Robert G. Wilson v, Feb 26 2010
a(16) from Giovanni Resta, Mar 26 2014
STATUS
approved