OFFSET
1,2
COMMENTS
The generalization of this sequence is possible with the primes of the form (b^n +- k)*b^n +- 1.
LINKS
Henri Lifchitz, New forms of primes
EXAMPLE
3 is in the sequence because (2^3 + 3)*2^3 + 1 = 89 is prime.
MATHEMATICA
lst={}; Do[If[PrimeQ[(2^n + n)*2^n+1], AppendTo[lst, n]], {n, 5000}]; lst
PROG
(PARI) is(n)=ispseudoprime((2^n+n)<<n+1) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Michel Lagneau, Nov 23 2011
EXTENSIONS
a(16)-a(18) from Michael S. Branicky, Jul 13 2023
a(19) from Michael S. Branicky, Aug 18 2024
STATUS
approved