The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A188574 Numbers n such that n^2 + 2*n + 2^n is prime. 0
1, 3, 5, 7, 13, 15, 35, 43, 159, 245, 265, 1573, 1827, 3359, 3949, 4615, 5463, 5919, 19723 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[1, 10000, 2], PrimeQ[#^2 + 2 # + 2^#] &]
PROG
(PARI) is(n)=ispseudoprime(n^2+2*n+2^n) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Cf. A220425 (see the comment by Jonathan Vos Post).
Sequence in context: A157834 A192110 A246026 * A247458 A355424 A339501
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Jan 07 2013
EXTENSIONS
a(19) from Bruno Berselli, Jan 09 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 11 15:53 EDT 2024. Contains 373315 sequences. (Running on oeis4.)