login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A215439
Numbers k such that 2^k + k^2 - 1 is prime.
4
1, 2, 4, 10, 70, 134, 146, 190, 218, 292, 478, 7136, 15964, 19988, 100790, 111442, 181874, 202112
OFFSET
1,2
COMMENTS
a(17) > 150000. - Giovanni Resta, Mar 19 2014
a(19) > 3*10^5. - Robert Price, Apr 30 2014
MATHEMATICA
Select[Range[0, 9000], PrimeQ[2^# + #^2 - 1] &]
PROG
(Magma) [n: n in [0..1000] | IsPrime(2^n+n^2-1)]
(PARI) is(n)=ispseudoprime(2^n+n^2-1) \\ Charles R Greathouse IV, May 22 2017
CROSSREFS
Cf. A215434.
Sequence in context: A080090 A125263 A326949 * A120402 A182238 A110073
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Sep 03 2012
EXTENSIONS
a(13)-a(16) from Giovanni Resta, Mar 19 2014
a(17)-a(18) from Robert Price, Apr 30 2014
STATUS
approved