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!)
A137459 Prime numbers n such that n^2 +- (n-1) are primes. 1
2, 3, 13, 163, 193, 349, 541, 769, 1093, 1231, 1423, 1549, 1621, 1693, 1801, 2011, 3049, 3511, 4003, 4111, 4159, 5839, 6091, 6421, 6703, 6883, 7573, 7753, 8929, 9043, 9601, 9769, 9781, 12781, 13633, 14821, 15091, 15439, 16141, 16759, 17863, 18493 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
2^2 +- 1 -> (3,4) Primes,
3^2 +- 2 -> (7,11) Primes,
13^2 +- 12 -> (157,181) Prime
MATHEMATICA
Select[Prime[Range[800]], PrimeQ[ #^2-(#-1)]&&PrimeQ[ #^2+(#-1)]&]
Select[Prime[Range[2500]], AllTrue[#^2+{(#-1), (1-#)}, PrimeQ]&] (* Harvey P. Dale, Jul 15 2023 *)
CROSSREFS
Sequence in context: A062447 A153888 A068083 * A267422 A072162 A113785
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Stefan Steinerberger, Apr 26 2008
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 May 10 05:09 EDT 2024. Contains 372356 sequences. (Running on oeis4.)